question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Problems with 'npm install'

See original GitHub issue

Resources: Before submitting an issue, please consult our docs.

Stencil version: (run npm list @stencil/core from a terminal/cmd prompt and paste output below):

@stencil/core@0.6.1

I’m submitting a … (check one with “x”) [ x ] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com

Current behavior: Running npm install after cloning this starter project fails on Node 9.3.0 and 9.4.0 on MacOS unless the package nan is installed globally (this in turn is needed to build fs-events).

After calling ‘npm install -g nan’, npm install works on Node 9.3.0 but not on 9.4.0. On 9.4.0 installing ‘nan’ globally has no effect.

Expected behavior: npm install should succeed without requiring the installation of global NPM packages unless noted in the “Get Started” section.

Steps to reproduce: On macOS High Sierra with node 9.3.0 installed (I use nodenv to select different node versions), follow the steps from your “Get Started” documentation (clone the repo, cd into it, run npm install).

Related code:

(none)

Other information:

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
jgw96commented, Mar 6, 2018

Also as a note, i added this to our docs site and pushed that live this morning.

1reaction
mutechcommented, Mar 5, 2018

@justinhartman Yes this is the same error I got. Sorry, I should have posted the details myself. The only way I found to fix the issue was to go back to node 9.3, which however was no problem for me.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. · This can be caused...
Read more >
npm install error from the terminal - Stack Overflow
My code npm install on cmd failed · So instead of npm i used Yarn · Just type yarn install instead of npm...
Read more >
NPM install error - Material Design for Bootstrap
Trying to install MDB pro 4.19.2 just downloaded and ran npm install but getting this error of sha512 not matching. Can someone tell...
Read more >
Common Errors - npm - w3resource
You can resolve some strange issues by running npm cache clean and trying again. · If you are experiencing issues with npm install,...
Read more >
How to fix npm install command not working
The error above happens when npm can't be found under the PATH environment variable. First, you need to make sure that npm is...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found