Node.js with Webstorm -
I followed this example to try and add a record to the MongoDB database.
When I try to start, ./server/server.js
I get the following message (at 2:22 in the video):
"C:\Program Files (x86)\JetBrains\WebStorm 9.0.1\bin\runnerw.exe" "C:\Program Files\nodejs\npm" server.js CreateProcess failed with error 193 (no message available) Process finished with exit code 0
The path is node.exe
correct, but not sure why I am getting this error and cannot find any debug information.
+3
source to share
1 answer
I got the same error using WebStorm with Babel as Node executable . After reinstalling the dependencies, the correct path to the babel-node executable was node_modules\.bin\babel-node.cmd
.
+8
source to share