webpack/webpack-cli

webpack-cli init does not find webpack

wernert opened this issue · 1 comments

Describe the bug

webpack-cli does not find installed webpack

What is the current behavior?

To Reproduce

Steps to reproduce the behavior:
make a new folder
npm init + accept defaults
npx webpack-cli init

image

Also after multiple runs where webpack is clearly installed from before the same error occurs
Same on powershell and git bash
same error also on run npx webpack-cli info

OS: windows 10 home
node v14.15.5
npm 6.14.11

Duplicate #2944