Skip to content

Can't run gulp #291

@adamwolf

Description

@adamwolf

Desiderata

  • Narthur fixes it
  • Working for dreev
  • Adam confirms it works for him now

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,

Metadata

Metadata

Assignees

Labels

BUGINFInfra, not user-visiblezap(closed as) fixed

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions