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

npm install fails #30

Closed
ikngtty opened this issue Aug 21, 2019 · 0 comments · Fixed by #31
Closed

npm install fails #30

ikngtty opened this issue Aug 21, 2019 · 0 comments · Fixed by #31
Assignees
Labels
bug Something isn't working

Comments

@ikngtty
Copy link
Member

ikngtty commented Aug 21, 2019

npm install fails.

Environment

node: v12.9.0
npm: 6.11.1

Log

> elm@0.19.0 install /Users/ikngtty/Projects/github.com/realglobe-Inc/hrafnar/node_modules/elm-webpack-loader/node_modules/elm
> binwrap-install

fs.js:27
const { Math, Object } = primordials;
                         ^

ReferenceError: primordials is not defined
    at fs.js:27:26
    at req_ (/Users/ikngtty/Projects/github.com/realglobe-Inc/hrafnar/node_modules/natives/index.js:143:24)
    at Object.req [as require] (/Users/ikngtty/Projects/github.com/realglobe-Inc/hrafnar/node_modules/natives/index.js:55:10)
    at Object.<anonymous> (/Users/ikngtty/Projects/github.com/realglobe-Inc/hrafnar/node_modules/unzip/node_modules/graceful-fs/fs.js:1:37)
    at Module._compile (internal/modules/cjs/loader.js:936:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:947:10)
    at Module.load (internal/modules/cjs/loader.js:790:32)
    at Function.Module._load (internal/modules/cjs/loader.js:703:12)
    at Module.require (internal/modules/cjs/loader.js:830:19)
    at require (internal/modules/cjs/helpers.js:68:18)
npm WARN hrafnar@1.0.0 No description
npm WARN hrafnar@1.0.0 No repository field.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! elm@0.19.0 install: `binwrap-install`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the elm@0.19.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/ikngtty/.npm/_logs/2019-08-21T09_01_32_517Z-debug.log

Information

Solution

  • Downgrade my Node.js to version 11.
  • Upgrade dependencies.

I'll send PR to upgrade dependencies.

@ikngtty ikngtty added the bug Something isn't working label Aug 21, 2019
@ikngtty ikngtty self-assigned this Aug 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant