I\'m trying to use the @blueprintjs/core
library in my project. However, when I compile my code, I\'m getting many errors like this:
node_module
This error is because of node older version of node
You can remove the node version and reinstall it by using the below comand
rm -rf node_modules //For removing
npm install //Install again(Fresh with updated one)
I had this problem, but for me, updating the local (and global) TypeScript packages did not resolve the problem. Luckily I came across the following article Which version of TypeScript is Visual Studio Using?
In a nutshell, whilst I had updated to TypeScript 2.2, Visual Studio was still referencing version 2.0 in the .csproj
file. I hope this helps someone else with a similar problem.
Delete your node-modules folder and do a clean installation.