如何在NodeClipse中更新Express.js模板 [英] How to update Express.js template in nodeclipse
问题描述
我已经安装了最新版本的nodeclipse
,但是当我创建express.js
项目时,我发现Express版本是3.6,当前版本是4.9,所以有什么方法可以在nodeclipse
IDE中更新Express模板>
Nodeclipse使用express
可执行文件(在首选项中选择)来启动它并创建快速项目.安装最新的express-generator
npm install -g express-generator
它将添加具有相同参数的express
可执行文件,但适用于4.x版本的express
然后应更新Eclipse Nodeclipse首选项,例如
C:\Users\yourusername\AppData\Roaming\npm\node_modules\express-generator\bin\express
(默认为从Nodeclipse 0.17开始)
您应该与其他用户在 issue#162 >
I have installed latest version of nodeclipse
but when i create express.js
project i found that the express version is 3.6 and the current is 4.9 so is there any way to update express template in the nodeclipse
IDE
Nodeclipse is using express
executable (as selected in preferences) to launch it and create express project. Once you have latest express-generator
installed
npm install -g express-generator
it would add express
executable with the same params but for 4.x version of express
Then Eclipse Nodeclipse preferences should be updated, e.g.
C:\Users\yourusername\AppData\Roaming\npm\node_modules\express-generator\bin\express
(Will be default starting from Nodeclipse 0.17)
You should co-work with other users on issue #162
这篇关于如何在NodeClipse中更新Express.js模板的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!