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

安装之后报错 #9

Open
IMMRCLAY opened this issue Oct 14, 2018 · 7 comments
Open

安装之后报错 #9

IMMRCLAY opened this issue Oct 14, 2018 · 7 comments

Comments

@IMMRCLAY
Copy link

Module build failed (from ./node_modules/postcss-loader/lib/index.js):
Error: Loading PostCSS Plugin failed: Cannot find module 'postcss-import'

@IMMRCLAY
Copy link
Author

按照错误提示安装了'postcss-import'和'postcss-url'之后,样式有问题,应该是样式没引进来!不知道怎么处理样式,请大神门指点迷津,不胜感激!

@frankfang7
Copy link

你是cli 3.0报错吧?

@IMMRCLAY
Copy link
Author

你是cli 3.0报错吧?

是的

@frankfang7
Copy link

你是cli 3.0报错吧?

是的

这个问题你解决了么?

@carrybuu
Copy link

Module build failed (from ./node_modules/postcss-loader/lib/index.js):
Error: Loading PostCSS Plugin failed: Cannot find module 'postcss-import'

一样的错误,作者没有维护了吗

@LFNLFN
Copy link

LFNLFN commented Oct 22, 2021

"postcss-import": "12.0.1",
"postcss-url": "8.0.0",

我在我的项目改成上面的版本号就可以了,估计是作者没有及时维护依赖包的更新问题

@lzx-sa
Copy link

lzx-sa commented Dec 22, 2021

"postcss-import": "12.0.1", "postcss-url": "8.0.0",

我在我的项目改成上面的版本号就可以了,估计是作者没有及时维护依赖包的更新问题

确实是要下这三个版本
"postcss-import": "^12.0.1",
"postcss-pxtorem": "^5.1.1",
"postcss-url": "^8.0.0",

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

5 participants