当我运行ng eject命令时,我在控制台上看到打印的以下消息。在最后一行,它说它已经添加了包?当我们运行ng eject时会添加哪些包?我使用的是angular CLI版本1.0.6。
To run your builds, you now need to do the following commands:
- "npm run build" to build.
- "npm run test" to run unit tests.
- "npm start" to serve the app using webpack-dev-server.
- "npm run e2e" to run protractor.
Running the equivalent CLI commands will result in an error.
==========================================================================================
Some packages were added. Please run "npm install".发布于 2017-09-22 03:28:05
弹出后
运行npm install添加webpack
Webpack是Angular CLI现在用来在构建时打包文件的捆绑器。
有关文档,请查看此处:https://webpack.github.io/docs/
和Angular集成文档在这里:https://angular.io/guide/webpack
https://stackoverflow.com/questions/46345030
复制相似问题