Issue creating a project after npm update
See original GitHub issueI’m submitting a bug report
- Library Version: 0.16.0
Please tell us about your environment:
- Operating System: Windows 10
- Node Version: v5.3.0
- NPM Version: 3.8.3
- Browser: N/A - command line
- Language: all
Current behavior:
running au new
results in a failed dependency
C:\src>au new module.js:328 throw err; ^
Error: Cannot find module 'vinyl-fs'
at Function.Module._resolveFilename (module.js:326:15)
at Function.Module._load (module.js:277:25)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (C:\Users\jadra\AppData\Roaming\npm\node_modules\aurelia-cli\lib\build\source-inclusion.js:4:13)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
Expected/desired behavior: If vinyl-fs was needed I would have expected it to be called out in the package.json and installed/updated as needed.
Workaround
Manually install vinyl-fs with npm install -g vinyl-fs
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Common errors | npm Docs
Some strange issues can be resolved by simply running npm cache clean and trying again. If you are having trouble with npm install...
Read more >error when creating a new angular project after updating the ...
Workaround: Create project with ng new my-app --skip-install , go to the app directory, remove all jasmine dependencies from package.json and ...
Read more >[BUG] npm update not updating package.json #708 - GitHub
npm update does not update and write to package.json node v12.14.1 npm ... Having the same issue after I updated from NPM 7.x...
Read more >How To Use Node.js Modules with npm and package.json
Since a package.json file contains numerous properties, it can be cumbersome to create manually, without copy and pasting a template from ...
Read more >Problems with npm install after loading project files. - Treehouse
Seems that depending on the version of Node you are using there may be precompiled dependencies missing. I initially saw similar errors to...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
yep… I uninstalled globally vinyl-fs and did a npm install -g Aurelia-cli and it operates correctly.
These are easy problems for an early implementer to workaround… but I believe in the project and want to see it become a hit amongst everyone! So whatever way I can help to make it better I am game… keep rolling…!