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

Can't run gulp #291

Open
1 of 2 tasks
adamwolf opened this issue Dec 15, 2022 · 2 comments
Open
1 of 2 tasks

Can't run gulp #291

adamwolf opened this issue Dec 15, 2022 · 2 comments
Assignees
Labels
BUG INF Infra, not user-visible zap (closed as) fixed

Comments

@adamwolf
Copy link
Contributor

adamwolf commented Dec 15, 2022

Desiderata

Preview Give feedback

After following the instructions in the README with Node 14.19.1, Adam got the following error when running gulp:

ReferenceError: primordials is not defined
    at fs.js:40:5
    at req_ (/Users/wolf/work/beeminder/road/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/wolf/work/beeminder/road/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/wolf/work/beeminder/road/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:1085:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
    at Module.load (internal/modules/cjs/loader.js:950:32)
    at Function.Module._load (internal/modules/cjs/loader.js:790:12)
    at Module.require (internal/modules/cjs/loader.js:974:19)
    at require (internal/modules/cjs/helpers.js:101:18)

ADAM: I think I could get around this by downgrading node to 12, but I can't get node 12 to work on my system today. Installing from Homebrew gets me Error: node@12 has been disabled because it is not supported upstream!. asdf and node-build are having problems building it.

Another option seems to be upgrading the gulpfile to Gulp v4.

PS: As of late 2024, the stable version of Node is version 20.

Verbata: upgrades, gulp,

@dreeves dreeves changed the title can't run gulp Can't run gulp Jan 20, 2023
@dreeves dreeves added BUG INF Infra, not user-visible labels Jan 20, 2023
@saranli
Copy link
Member

saranli commented Jan 24, 2023

Could this be related to a local issue? I was able to run gulp with the existing gulpfile with the following versions:

$ node -v
v16.13.0
$ npm -v
8.1.0
$ gulp -v
CLI version: 2.3.0
Local version: 4.0.2

gulp seems to compile the existing gulpfile in my system even when I use the v4 gulp that is installed locally.

Is there any reason why node could not be upgraded? Just trying to understand the issue so we can decide on how to proceed.

narthur added a commit that referenced this issue Mar 9, 2023
This fixes the gulp install issues from #291, and updates the documentation to be a little more usable.
@adamwolf
Copy link
Contributor Author

adamwolf commented Mar 9, 2023

thanks @narthur!

@adamwolf adamwolf added the zap (closed as) fixed label Mar 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BUG INF Infra, not user-visible zap (closed as) fixed
Projects
None yet
Development

No branches or pull requests

3 participants