- package.json (express ...
You can still install the global version too. They will be installed in different locations.
/my-project
|- package.json (express included)
|- node_modules (express installed)
|- app.js
Or you can invoke the local one in your directory -
Edit: The above is not the case with latest versions. It is true in the one i have installed (3.4.8).
And then
./node_modules/express/bin/express
我有一个下面的项目。
现在我可以在app.js模块中使用expressJS,但是,如何使用它的CLI?
npm install express-generator
我有一个关于ExpressJS本地安装的问题(我知道全局使用,但我现在不这样做)。我有一个项目:我的项目。