问题
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