Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

将egg-webpack升级到5.0.1后出现如下报错 #30

Open
miaolin1993 opened this issue Feb 13, 2023 · 0 comments
Open

将egg-webpack升级到5.0.1后出现如下报错 #30

miaolin1993 opened this issue Feb 13, 2023 · 0 comments

Comments

@miaolin1993
Copy link

miaolin1993 commented Feb 13, 2023

报错信息
`
context.logger = context.compiler.getInfrastructureLogger('webpack-dev-middleware');

^
TypeError: context.compiler.getInfrastructureLogger is not a function
`

相关的依赖版本
`
"egg-bin": "^4.11.0",

"egg-ci": "^1.8.0",

"egg-mock": "^5.9.1",

"egg-ts-helper": "^1.25.9",

"egg-view-react-ssr": "^3.1.0",

"egg-webpack": "^5.0.1",

"egg-webpack-react": "^3.0.0",

"webpack-cli": "^5.0.1"

`

目前还没有找到原因为什么报这个错误

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant