This can be caused by corporate proxies that give html responses to package json requests.
Error cannot find module vinyl map.
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.
Tried npm cache clear first same error.
I tried using the types webpack types html webpack pluginpackage and had problems.
Tried upgrading to node 0 12 9 which is mentioned in the package json same error.
U sers c ody d esktop t.
Cody codetop desktop todomvc aurelia master gulp module js 338 throw err.
There s multiple errors seems to be all failing when optimising all the less files.
Additionally node js will search in the following locations.
Cannot find required map name press esc in 5 seconds to skip startup nsh any other key to conti.
Anonymous c.
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.
If you know how to fix the issue make a pull request instead.
Check that it s not a problem with a package you re trying to install e g.
Many enoent enotempty errors in output.
Sometimes a module s dependencies change causing a different version or even a different module to be loaded as the node pathis searched.
Nvm install v4 2 4 official stable version same error.
If you re getting permission errors when you run npm install g make sure your user account has the ability to write to the directory in question i think it s usr local bin if you re on a mac.
Efi shell version 2 31 4 633 current running mode 1 1 2 map.
Patch dependency issues affirmix vinyl map 3 merged andrewodri pushed a commit to affirmix vinyl map that referenced this issue dec 20 2016.
Run npm cache clean and or try again later.
Check npm s proxy configuration.
I tried using the latest stable version of tsc.