Reputation: 11
I am getting the following error when I try to create a Node.js Express app in Webstorm:
Can't set up Node.js v0.12.2 Core Modules Failed to create C:\Users\Christina.WebStorm10\system\extLibs\nodejs-v0.12.2-src\core-modules-sources\lib\constants.js. See idea.log for details (on the main menu "Help | Show Log in ...")
Does anyone know why?
Thanks in advance!
Upvotes: 1
Views: 1295
Reputation: 1010
The reason is that access to this file is denied.
Upvotes: 1
Reputation: 1
I was having the same problem whenever I tried to download the modules Although I didnt find the reason for this I found a solution. Try to download Node.js from their website and use the Get Modules from Directory Option in the cofig window.
Then point the path to c:/Programs and Files(x86)/Node/npm and you should be good to go ;)
Upvotes: 0