Skip to content

gulp watch says ReferenceError: primordials is not defined #62

@davidnewcomb

Description

@davidnewcomb

I followed your instructions (on master), the build worked but all the gulp commands failed. Any ideas?

12:00:11 ~/tmp/git-branch/gitline 510 (master) $ npm install
npm WARN old lockfile 
npm WARN old lockfile The package-lock.json file was created with an old version of npm,
npm WARN old lockfile so supplemental metadata must be fetched from the registry.
npm WARN old lockfile 
npm WARN old lockfile This is a one-time fix-up, please be patient...
npm WARN old lockfile 

up to date, audited 612 packages in 6s

10 packages are looking for funding
  run `npm fund` for details

34 vulnerabilities (8 low, 5 moderate, 18 high, 3 critical)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.

Running watch

12:00:24 ~/tmp/git-branch/gitline 511 (master) $ gulp watch
ReferenceError: primordials is not defined
    at fs.js:47:5
    at req_ (/Users/davidnewcomb/tmp/git-branch/gitline/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/davidnewcomb/tmp/git-branch/gitline/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/davidnewcomb/tmp/git-branch/gitline/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
    at Module.load (node:internal/modules/cjs/loader:989:32)
    at Function.Module._load (node:internal/modules/cjs/loader:829:14)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)

Then running 'run'

12:00:39 ~/tmp/git-branch/gitline 512 (master) $ gulp run
ReferenceError: primordials is not defined
    at fs.js:47:5
    at req_ (/Users/davidnewcomb/tmp/git-branch/gitline/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/davidnewcomb/tmp/git-branch/gitline/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/davidnewcomb/tmp/git-branch/gitline/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (node:internal/modules/cjs/loader:1109:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1138:10)
    at Module.load (node:internal/modules/cjs/loader:989:32)
    at Function.Module._load (node:internal/modules/cjs/loader:829:14)
    at Module.require (node:internal/modules/cjs/loader:1013:19)
    at require (node:internal/modules/cjs/helpers:93:18)
12:00:47 ~/tmp/git-branch/gitline 513 (master) $ 

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