Closed nicolaskruchten closed 5 years ago
This was broken by a webpack update, see https://github.com/webpack/webpack/issues/8082
A workaround for now is to update both, webpack and webpack-cli in package.json:
"webpack": "^4.20.2",
"webpack-cli": "^3.1.1",
That fixed it for me, thanks! @T4rk1n you want a PR?
@nicolaskruchten I got my cookiecutter PR coming up, I already changed the versions there.
That fixed it to me, too. ;-). I got the problem after installing nano. After altering the version of webpack in package.json and npm install --save webpack-cli the problem was fixed Thank's
卸载再重装就好了~ npm uninstall webpack-cli npm install webpack-cli
"webpack": "^4.20.2", "webpack-cli": "^3.1.1",
This worked well 👍
npm install --save webpack-cli -- fixed the error
Isso foi quebrado por uma atualização do webpack, veja webpack/webpack#8082
Uma solução alternativa por enquanto é atualizar ambos, webpack e webpack-cli em package.json:
"webpack": "^4.20.2", "webpack-cli": "^3.1.1",
Isso super me ajudou e corrigiu o problema
TypeError: Cannot read property 'tapAsync' of undefined
I am getting this after changing the webpack version....
"webpack": "^4.20.2", "webpack-cli": "^3.1.1",
Someone with me?!
Walking through the README from top to bottom, I hit an error with
npm run build:js-dev
: