Question

Error running `npm install`

Posted July 21, 2017 1.5k views
Applications Ubuntu 16.04

Hello, I am trying to install Pantry-for-Good. When I run npm install in the Pantry-for-Good directory, I get this error (error.txt). @0x0936 told me to update npm, which I did, and then I received this error (error2.txt). Any help would be appreciated.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

1 answer

Hi @technotrumpet

It says that two of the dependencies are outdated, so try installing the version it’s requesting:

npm update minimatch@3.0.2
npm update graceful-fs@4.0.0

Or run the ls command to list which dependencies are using outdated versions:

npm ls minimatch
npm ls graceful-fs

EDIT: There’s a very long thread about this and with many slightly different ways of making it work depending on your setup:
https://github.com/npm/npm/issues/13323

Submit an Answer