-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
npm run devH5 报错 #1
Comments
降级webpack-dev-server的版本,我试过了“^2.0.0”可用 |
感谢楼下,确实如此。 |
@p0301y 降级之后使用npm run build 后在小程序上报错,你有遇到吗 |
仔细检查 安装的各个版本号啊 特别是 webpack 的版本 |
通配符打包成小程序的时候会报错,怎么处理的呢? |
+1 同求解 |
你好,你这个错解决了吗?我的降级了之后还是会报错 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
TypeError: Cannot read property 'compile' of undefined
at addCompilerHooks (F:\demo\wxH5sudoku469\node_modules_webpack-dev-server@3.1.4@webpack-dev-server\lib\Server.js:7
1:16)
at new Server (F:\demo\wxH5sudoku469\node_modules_webpack-dev-server@3.1.4@webpack-dev-server\lib\Server.js:81:5)
at startDevServer (F:\demo\wxH5sudoku469\node_modules_webpack-dev-server@3.1.4@webpack-dev-server\bin\webpack-dev-s
erver.js:398:14)
at processOptions (F:\demo\wxH5sudoku469\node_modules_webpack-dev-server@3.1.4@webpack-dev-server\bin\webpack-dev-s
erver.js:361:5)
at
at process._tickCallback (internal/process/next_tick.js:188:7)
at Function.Module.runMain (module.js:695:11)
at startup (bootstrap_node.js:191:16)
at bootstrap_node.js:612:3
The text was updated successfully, but these errors were encountered: