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

在vue-cli3初始化的项目中报错,无法使用。报错信息如下 #12

Open
tonalll opened this issue Dec 27, 2018 · 0 comments

Comments

@tonalll
Copy link

tonalll commented Dec 27, 2018

error in ./src/components/HelloWorld.vue?vue&type=style&index=0&id=469af010&scoped=true&lang=stylus&

Module build failed (from ./node_modules/stylus-loader/index.js):
ParseError: E:-\project\h5\node_modules_stylus-px2rem@1.0.14@stylus-px2rem\lib\px2rem.js:5:1
1| var plugin = module.exports = function plugin () {
2| 'use strict';
3|
4| return function (style) {
5| style.include(__dirname);
------^
6| };
7| };
8|

expected ":", got "."

at Parser.error (E:\-\project\h5\y\node_modules\stylus\lib\parser.js:259:11)
at Parser.expect (E:\-\project\h5\y\node_modules\stylus\lib\parser.js:287:12)
at Parser.object (E:\-\project\h5\y\node_modules\stylus\lib\parser.js:2106:12)
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

1 participant