Skip to content
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

启动报错了! #87

Closed
xiaomaoaaa opened this issue Jan 10, 2020 · 6 comments
Closed

启动报错了! #87

xiaomaoaaa opened this issue Jan 10, 2020 · 6 comments

Comments

@xiaomaoaaa
Copy link

image

@duxianwei520
Copy link
Owner

@xiaomaoaaa 很可能是你本地的网络不行,导致有些依赖的npm包没下载完成导致启动不起来,很多人问这样子的问题了

@xiaomaoaaa
Copy link
Author

webpack.base.config.js 的插件HappyPack和rules的css加载器有冲突 我注释 掉 // 'happypack/loader?id=happyStyle', 就好了

@duxianwei520
Copy link
Owner

不应该啊,我本地用得好好的,没什么问题

@FengYangLiu
Copy link
Contributor

@xiaomaoaaa 你做了什么操作导致报错的?

@xiaomaoaaa
Copy link
Author

@FengYangLiu 我就下载下来 启动的时候就报错了 ,没做什么操作,要么就是有依赖版本过低 (我看报错是 happypack和MiniCssExtractPlugin有冲突)

@molvshan
Copy link

我遇到了一模一样的问题,但是光注释掉css的happypack loader是不行的,还得手动用postcss-loader、less-loader、css-loader替换happypac loader

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

No branches or pull requests

4 participants