Problems with 'npm install'
See original GitHub issueResources: 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:
- Created 6 years ago
- Comments:5 (2 by maintainers)
Top GitHub Comments
Also as a note, i added this to our docs site and pushed that live this morning.
@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.