webpack command not working

前端 未结 7 1860
谎友^
谎友^ 2020-12-01 04:09

I am new to Node Js and Webpack. I tried to start a project with module-loaders.

Firstly, I installed nodeJs and NPM and created a new directory called tutoria

7条回答
  •  旧时难觅i
    2020-12-01 04:47

    You can run npx webpack. The npx command, which ships with Node 8.2/npm 5.2.0 or higher, runs the webpack binary (./node_modules/.bin/webpack) of the webpack package. Source of info: https://webpack.js.org/guides/getting-started/

提交回复
热议问题