This repository has been archived by the owner. It is now read-only.

Unable to install eslint on DragonFly BSD #18848

Open
olleharstedt opened this Issue Oct 15, 2017 · 2 comments

Comments

Projects
None yet
3 participants
@olleharstedt

olleharstedt commented Oct 15, 2017

I'm opening this issue because:

  • npm is crashing.
  • npm is producing an incorrect install.
  • npm is doing something I don't understand.
  • Other (see below for feature requests):

What's going wrong?

Trying to install eslint, installer aborts with this error:

1091 verbose stack Error
1091 verbose stack     at /usr/local/lib/node_modules/npm/lib/utils/gently-rm.js:275:7
1091 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/iferr/index.js:13:50
1091 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/graceful-fs/polyfills.js:287:18
1091 verbose stack     at FSReqWrap.oncomplete (fs.js:153:5)
1092 verbose cwd /root/.npm/_logs
1093 verbose DragonFly 4.8-RELEASE
1094 verbose argv "/usr/local/bin/node" "/usr/local/bin/npm" "i" "-g" "npm"
1095 verbose node v8.4.0
1096 verbose npm  v5.3.0
1097 error code EINVAL
1098 error EINVAL: invalid argument, read
1099 verbose exit [ 1, true ]

How can the CLI team reproduce the problem?

Fresh installation of DragonFly BSD 4.8, install node and npm using the package manager, then try to install eslint.

Please let me know if I can provide any more information.

supporting information:

  • npm -v prints: 5.3.0
  • node -v prints: v8.4.0
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: DragonFly BSD
  • Network issues:
    • Geographic location where npm was run:
    • I use a proxy to connect to the npm registry.
    • I use a proxy to connect to the web.
    • I use a proxy when downloading Git repos.
    • I access the npm registry via a VPN
    • I don't use a proxy, but have limited or unreliable internet access.
  • Container:
    • I develop using Vagrant on Windows.
    • I develop using Vagrant on OS X or Linux.
    • I develop / deploy using Docker.
    • I deploy to a PaaS (Triton, Heroku).
@mneumann

This comment has been minimized.

Show comment
Hide comment
@mneumann

mneumann Oct 15, 2017

You could try yarn. I also had problems with npm on DragonFly and now use yarn with success.

mneumann commented Oct 15, 2017

You could try yarn. I also had problems with npm on DragonFly and now use yarn with success.

@olleharstedt

This comment has been minimized.

Show comment
Hide comment
@olleharstedt

olleharstedt Oct 15, 2017

Thank you, @mneumann, will try.

olleharstedt commented Oct 15, 2017

Thank you, @mneumann, will try.

@KenanY KenanY added the npm5 label Oct 15, 2017

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.