TypeError: Cannot destructure property `compile` of 'undefined' or 'null'
11,320
The issue is with the webpack-dev-server which shouldn't be used in production, so it's generally safe to have a vulnerability in this (until dependent packages update to support version 3.1)
npm install -D [email protected]
Comments
-
Askar almost 2 years
Steps to reproduce: I run
vue init webpack myapp
with options selected as per screenshot.Then I got ouput as follows:
npm run dev
works fine when I don't donpm audit fix --force
ornpm install --save-dev [email protected]
andnpm install --save-dev [email protected]
which I get withnpm audit
When I got fixed and run
npm run dev
, not it's giving errorsThen I run
npm i -D webpack-cli
as recommended in the output.But now I have the following error when running
npm run dev
Can't figure how to fix this issue...
-
Juriy about 2 yearsHave fixed issue "Cannot destructure property 'compile' of 'compiler.hooks" while was starting
react-window
lib sources