Tried npm cache clear first same error.
Error cannot find module vinyl map.
Check that it s not a problem with a package you re trying to install e g.
Run npm cache clean and or try again later.
Nvm install v4 2 4 official stable version same error.
Check npm s proxy configuration.
Sometimes a module s dependencies change causing a different version or even a different module to be loaded as the node pathis searched.
Cody codetop desktop todomvc aurelia master gulp module js 338 throw err.
Anonymous c.
U sers c ody d esktop t.
Many enoent enotempty errors in output.
Tried a clean install without sense plugin same error.
Apply a source map to a vinyl file merging it with preexisting source maps.
Cannot find required map name press esc in 5 seconds to skip startup nsh any other key to conti.
It may make sense to give your user account permission to write to that directory instead of doing sudo npm install g this is a very old npm article but does explain some more thoughts around that.
I tried using the latest stable version of tsc.
I tried using the types webpack types html webpack pluginpackage and had problems.
Additionally node js will search in the following locations.
Cannot find module concat map at function module resolvefilename module js 336 15 at function module load module js 278 25 at module require module js 365 17 at require module js 384 17 at object.
Efi shell version 2 31 4 633 current running mode 1 1 2 map.
Possible temporary npm registry glitch or corrupted local server cache.
Patch dependency issues affirmix vinyl map 3 merged andrewodri pushed a commit to affirmix vinyl map that referenced this issue dec 20 2016.
This can be caused by corporate proxies that give html responses to package json requests.
If you know how to fix the issue make a pull request instead.