Skip to content

Instantly share code, notes, and snippets.

@BindiChen
Last active February 20, 2020 16:47
Show Gist options
  • Save BindiChen/d8b85730478d0f28de56a5170b0790ac to your computer and use it in GitHub Desktop.
Save BindiChen/d8b85730478d0f28de56a5170b0790ac to your computer and use it in GitHub Desktop.
npm list to get the path to the specified package
⇒ gulp clean && gulp build
fs.js:27
const { Math, Object } = primordials;
^
ReferenceError: primordials is not defined
at fs.js:27:26
at req_ (/Users/admin/Code/my-app/node_modules/natives/index.js:143:24)
at Object.req [as require] (/Users/admin/Code/my-app/node_modules/natives/index.js:55:10)
at Object.<anonymous> (/Users/admin/Code/my-app/node_modules/vinyl-fs/node_modules/graceful-fs/fs.js:1:37)
at Module._compile (internal/modules/cjs/loader.js:955:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:991:10)
at Module.load (internal/modules/cjs/loader.js:811:32)
at Function.Module._load (internal/modules/cjs/loader.js:723:14)
at Module.require (internal/modules/cjs/loader.js:848:19)
at require (internal/modules/cjs/helpers.js:74:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:my-app: `gulp clean && gulp build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment