Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Node.js with Webstorm -

I've followed this example to try and add a record to MongoDB database.

When trying to run ./server/server.js I get the following message (at 2:22 in 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 node.exe path is right but don't know why I'm getting this error and can't find information on debugging it.

like image 454
sambomartin Avatar asked Nov 11 '14 16:11

sambomartin


1 Answers

I got the same error while using WebStorm with Babel as the Node executable. After re-installing the dependencies, the correct path to the babel-node executable was node_modules\.bin\babel-node.cmd.

like image 55
Dan Dascalescu Avatar answered Sep 27 '22 20:09

Dan Dascalescu