In my Typescript 2.2.1 project in Visual Studio 2015 Update 3, I am getting hundreds of errors in the error list like:
Cannot write file \'C:/{{my-project
Most likely, this happens when you try to run one project with two nodes. For this hypothesis, you can test the count of processes on your computer named "node" after run build. What I did to solve the problem:
Step 1.
Compare
node -v
and
nvm -ls
, the version in use. In terminal set current node version:
nvm use {neededVersion}
In principle, delete unnecessary versions of the node in nvm (this will help your IDE to automatically determine the normal version of the node).
Step 2.
Determine the current node in your IDE. i.e. in WebStorm: Preferencies->Languages & Frameworks -> Node.js and NPM | Typescript: Node interpreter - set needed version.