How to update Express.js template in nodeclipse

孤人 提交于 2019-12-13 18:23:10

问题


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


回答1:


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



来源:https://stackoverflow.com/questions/26007228/how-to-update-express-js-template-in-nodeclipse

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!