Skip to content

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

@RussellJQA

Description

@RussellJQA

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions