Skip to content

ERROR Failed to compile with 1 error #18

@mouday

Description

@mouday

启动调试命令

$ node -v
v10.16.0

npm run serve

报错如下

 ERROR  Failed to compile with 1 error                                                    11:21:07 AM

Syntax Error: TypeError: Cannot read property 'styles' of undefined


You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.


and

package.json中缺少部分依赖

babel-loader
cache-loader
vue-loader
vue-style-loader

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions