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

js-yaml 运行报错 #5

Open
cxd1314 opened this issue Oct 29, 2019 · 1 comment
Open

js-yaml 运行报错 #5

cxd1314 opened this issue Oct 29, 2019 · 1 comment

Comments

@cxd1314
Copy link

cxd1314 commented Oct 29, 2019

error in ./src/App.vue

Error loading PostCSS config: Loading PostCSS Plugin failed: Cannot find module 'postcss-url'

@ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":false}!./node_modules/vue-loader/l
ib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":false,"hasInlineConfig":false}!./node_modules/
vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue 4:14-297 13:3-17:5 14:22-305
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

不懂得哪没配置好,之前能运行,现在不行了

@SY199505
Copy link

error in ./src/App.vue

Error loading PostCSS config: Loading PostCSS Plugin failed: Cannot find module 'postcss-url'

@ ./node_modules/vue-style-loader!./node_modules/css-loader?{"sourceMap":false}!./node_modules/vue-loader/l
ib/style-compiler?{"vue":true,"id":"data-v-7ba5bd90","scoped":false,"hasInlineConfig":false}!./node_modules/
vue-loader/lib/selector.js?type=styles&index=0!./src/App.vue 4:14-297 13:3-17:5 14:22-305
@ ./src/App.vue
@ ./src/main.js
@ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./src/main.js

不懂得哪没配置好,之前能运行,现在不行了

缺postcss-url这个插件
npm i postcss-url
翻译一下就知道了

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

2 participants