Giter Site home page Giter Site logo

Comments (6)

surma avatar surma commented on June 27, 2024

Just an FYI: But it’s probably way too early to use this, very much in flux and WIP. I’ll put out actual articles and guidance once I am done.

Regarding this error: Looks like you are running an old version of Node that doesn’t have async functions yet. Node 8 (or maybe even Node 7?) should solve this.

from progressivewordpress.

tedmasterweb avatar tedmasterweb commented on June 27, 2024

Thanks. I updated to npm 5.0.2 and continued to have the error. Going to try getting node up to 7 or higher as suggested to see if that fixes things.

from progressivewordpress.

tedmasterweb avatar tedmasterweb commented on June 27, 2024

After updating node to 8 and installing babel-core and glob by specifying those modules explicitly I got the following results:

npm run build                 

> [email protected] build /Users/tedsr/Downloads/ProgressiveWordPress-master
> npm version --no-git-tag-version -f patch && mkdir -p dist; node build.js

npm WARN using --force I sure hope you know what you are doing.
v0.0.438
Done
(node:7636) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 14): Error: Couldn't find preset "babili" relative to directory "/Users/me/Downloads/ProgressiveWordPress-master"
(node:7636) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I'm happy to help debug this. I think this is a cool project. I just need a little encouragement.

from progressivewordpress.

surma avatar surma commented on June 27, 2024

Hm, apparently I forgot to add babili to my dependencies. If you install that, it should work.

I’ll fix that on my end too :)

from progressivewordpress.

tedmasterweb avatar tedmasterweb commented on June 27, 2024

Cool. I got it up and running after installing babili.

from progressivewordpress.

felipenmoura avatar felipenmoura commented on June 27, 2024

Hi.
Just to be sure...is this babili preset the same one marked now as deprecated?
https://www.npmjs.com/package/babel-preset-babili

from progressivewordpress.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.