webstorm express version failed to load

I just installed the webstorm 5.0.4  for my node.js project.  I created a node.js express app project.

path to node: /Users/feelexit/nvm/v0.8.20/bin/node
path to npm: /Users/feelexit/num/v0.8.20/lib/node_modules/npm/bin/npm

in Options section:  Express version Failed to load retry.

I already have express installed using npm. It locates at "/Users/feelexit/nvm/node_modules/express"

please help me to fix it.


Hi John,

Most likely, "Path to npm" is incorrect. To verify npm path, execute "/Users/feelexit/num/v0.8.20/lib/node_modules/npm/bin/npm" in Terminal.
If it's correct, it should output npm usage info.

Try to set "Path to npm" to /Users/feelexit/nvm/v0.8.20/bin/npm and try again.

When creating Node.js Express app, WebStorm doesn't use externally installed express modules.


still not working.

/Users/feelexit/nvm/v0.8.20/bin/npm  is a symbolic link

lrwxr-xr-x  1 feelexit  staff        38 Feb 15 14:00 npm -> ../lib/node_modules/npm/bin/npm-cli.js

if I use  /Users/feelexit/nvm/v0.8.20/bin/npm

path to npm will automatically change from





Yes, "/Users/feelexit/nvm/v0.8.20/bin/npm" is expected to be a symlink.

But it matters where file is located. The first two lines of "/Users/feelexit/nvm/v0.8.20/bin/npm" are most likely look like this:

// 2>/dev/null; exec "`dirname "$0"`/node" "$0" "$@"

What are output in Terminal if following commands are executed:
1) /Users/feelexit/nvm/v0.8.20/bin/npm
2) /Users/feelexit/nvm/v0.8.20/lib/node_modules/npm/bin/npm-cli.js
3) /Users/feelexit/num/v0.8.20/lib/node_modules/npm/bin/npm

Expected: only "/Users/feelexit/nvm/v0.8.20/bin/npm" command will print npm usage, others will fail.

You said, you had specified "/Users/feelexit/nvm/v0.8.20/bin/npm" as Path to node and it didn't work.
Could you please attach here your idea.log file (on the main menu, Help | Reveal Log in Finder).

Please sign in to leave a comment.