创建Node项目出错..
发布于 9 年前 作者 LiZheWang 13962 次浏览 最后一次编辑是 8 年前 来自 问答

用的webstrome

Windows 7 sometimes breaks FTP connections on Java 7 if firewall is enabled. Command netsh advfirewall set global StatefulFTP disable usually fixes the problem. See more in the issue. (show balloon) 10:31:49 Create Express Project Error creating Node.js Express App. Failed command: “C:\Program Files\nodejs\node.exe” “C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js” install Exit code: -1

4 回复

如果是新手,还是不要用webstorm这种IDE了 webstorm创建express 需要 预先安装express-generator npm install express-generator -g

还是手动创建,然后导入到webstrome

@dayuoba 你比我有耐心,我会说“hg”

@dayuoba 我就是这样才搞定的!

回到顶部