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.

Issue creating a project after npm update

See original GitHub issue

I’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:closed
  • Created 7 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jadrake75commented, Jul 15, 2016

yep… I uninstalled globally vinyl-fs and did a npm install -g Aurelia-cli and it operates correctly.

0reactions
jadrake75commented, Jul 15, 2016

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…!

Read more comments on GitHub >

github_iconTop 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 >

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