Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm install bourbon fails with a ton of undefined #17987

Closed
2 of 13 tasks
linkmauve opened this issue Jul 28, 2017 · 2 comments
Closed
2 of 13 tasks

npm install bourbon fails with a ton of undefined #17987

linkmauve opened this issue Jul 28, 2017 · 2 comments

Comments

@linkmauve
Copy link

linkmauve commented Jul 28, 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?

% npm install bourbon
npm ERR! Cannot read property '0' of undefined                                 

npm ERR! A complete log of this run can be found in:                           
npm ERR!     /home/linkmauve/.npm/_logs/2017-07-28T18_57_51_026Z-debug.log

How can the CLI team reproduce the problem?

supporting information:

  • npm -v prints: 5.3.0
  • node -v prints: v8.2.1
  • npm config get registry prints: https://registry.npmjs.org/
  • Windows, OS X/macOS, or Linux?: ArchLinux up to date as of July 28th.
  • Network issues:
    • Geographic location where npm was run: on an OVH server, somewhere in France
    • 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: None
    • 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).
@robinhouston
Copy link

This looks like #17858. Deleting package-lock.json (and node_modules) and regenerating it will probably fix the problem. It looks as though NPM 5.3.0 isn’t compatible with the package-lock.json files produced by earlier versions of npm.

@npm-robot
Copy link

We're closing this support issue as it has gone three days without activity. The npm CLI team itself does not provide support via this issue tracker, but we are happy when users help each other here. In our experience once a support issue goes dormant it's unlikely to get further activity. If you're still having problems, you may be better served by joining WeAllJS and asking your question in its #npm channel. The npm CLI team is all present there, but there are also lots of other folks who can help you too.

For more information about our new issue aging policies and why we've instituted them please see our blog post.

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

No branches or pull requests

4 participants