shellscape/koa-webpack

unable to import koa-webpack in lerna monorepo

noahehall opened this issue · 2 comments

  • Node Version: 16.2
  • NPM Version: 7.13.0
  • koa Version: 2.13.1
  • koa-wepback Version: 6.0.0

import koaWebpack from 'koa-webpack'
Error: Cannot find module 'webpack/lib/ParserHelpers'
server.mjs has the relevant code

Expected Behavior

  • i can import koa-webpack

Actual Behavior

  • i cannot import koa-webpack

How can we reproduce the behavior?

  1. clone nodeproto
  2. checkout this commit
  3. run npm run lerna:run client

doesnt support webpack5
#126

koa-webpack/package.json

Lines 29 to 31 in 1271612

"peerDependencies": {
"webpack": "^4.28.0"
},