Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package.json dependency ("gulp": "^3.8.8") doesn't work with current versions of Node.js #6

Open
RussellJQA opened this issue Dec 5, 2020 · 0 comments

Comments

@RussellJQA
Copy link

As instructed in your (Ray Villalobos's) LinkedInLearning's Learning Git and GitHub course, I cloned this repo, did an npm install, and tried running gulp.

However, running gulp gave a
ReferenceError: primordials is not defined
error, because the pinned-to version of gulp
"gulp": "^3.8.8" [which means 3.8.8 <= gulp < 4.0.0]
is no longer supported in node.js. Gulp 3.x requires node.js < 12, and I'm running node.js 14 (the current LTS version of node.js].

Someone helped me workaround this problem using yarn, by following the instructions at How to fix ReferenceError: primordials is not defined in node

I shared this workaround with someone else who reported the same problem in the Q&A section of the Learning Git and GitHub course.

So that other learners don't experience this same problem, could the package.json be updated so that it works "out-of-the-box" with current vesions of node.js?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant