![]() ![]() Which one do you like to install (webpack-cli/webpack-command): We will use "npm" to install the CLI via "npm install -D". These are recommended choices, delivered as separate packages: Pass -update-binary to reinstall or -build-from-source to recompileĪdded 387 packages from 296 contributors in 71.214s Success: "/Users/life/.nvm/versions/node/v10.3.0/lib/node_modules/webpack/node_modules/fsevents/lib/binding/Release/node-v64-darwin-圆4/fse.node" already installed > install /Users/life/.nvm/versions/node/v10.3.0/lib/node_modules/webpack/node_modules/fsevents Users/life/.nvm/versions/node/v10.3.0/bin/webpack -> /Users/life/.nvm/versions/node/v10.3.0/lib/node_modules/webpack/bin/webpack.js LifedeMBP:Documents life$ npm install -global webpack bash: /Users/life/.nvm/versions/node/v10.3.0/bin/webpack: No such file or directory The problem is that I think about practicing directly. Incidentally, webpack-cli is installed npm install -save-dev webpack-cli Watching the document install webpack 4.x globally, npm install -global webpack Mainly in order to prevent playing webpack bad can also come back from the west, ask the old driver to take a way, in the evening back may have to do from the system. This problem is very important how to install and uninstall webpack safely.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |