Error creating Node.js Express App. Wrong express generator

I'm on a fresh install of ubuntu 12.04.4 running on a parallels vm on my macbook pro.  Also freshly installed java, node, npm, express and webstorm.  When I try to create a new node.js express project I get the following error.

Error creating Node.js Express App. Wrong express generator:
/home/parallels/WebstormProjects/test1/node_modules/express/bin/express

Can anyone offer some assistance to fix this?  Thanks.

2 comments

I get the same issue on windows when i select Express 4.x, log attached.

Express 3.x works fine

BTW, same result with Webstorm7 and 8



Attachment(s):
idea - Copy.log.zip
0

WebStorm tries to execute node_modules\express\bin\express to generate  application, but this binary has been removed in 4.0. (moved to  express-generator), so generation fails. I suggest choosing version  3.5.1 as a workaround.


The issue is tracked as http://youtrack.jetbrains.com/issue/WEB-11823, please vote for it to be notified on any update
0

Please sign in to leave a comment.