I tried using the types webpack types html webpack pluginpackage and had problems.
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.
I tried using the latest stable version of tsc.
Tried upgrading to node 0 12 9 which is mentioned in the package json same error.
Sometimes a module s dependencies change causing a different version or even a different module to be loaded as the node pathis searched.
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.
Apply a source map to a vinyl file merging it with preexisting source maps.
There s multiple errors seems to be all failing when optimising all the less files.
Tried npm cache clear first same error.
Nvm install v4 2 4 official stable version same error.
Possible temporary npm registry glitch or corrupted local server cache.
Efi shell version 2 31 4 633 current running mode 1 1 2 map.
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.
Anonymous c.
Check npm s proxy configuration.
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.
U sers c ody d esktop t.
Tried a clean install without sense plugin same error.
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.
Patch dependency issues affirmix vinyl map 3 merged andrewodri pushed a commit to affirmix vinyl map that referenced this issue dec 20 2016.
If you know how to fix the issue make a pull request instead.