0
 INFO  Starting development server...
 ERROR  Error: custom keyword definition is invalid: data.errors should be boolean
Error: custom keyword definition is invalid: data.errors should be boolean
    at Ajv.addKeyword (C:\Users\Mi\vue\ebook\node_modules\ajv\lib\keyword.js:65:13)
    at module.exports (C:\Users\Mi\vue\ebook\node_modules\ajv-errors\index.js:10:7)
    at Object.<anonymous> (C:\Users\Mi\vue\ebook\node_modules\webpack-dev-server\node_modules\schema-utils\src\validateOptions.js:22:1)
    at Module._compile (internal/modules/cjs/loader.js:689:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
    at Module.load (internal/modules/cjs/loader.js:599:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
    at Function.Module._load (internal/modules/cjs/loader.js:530:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ebook@0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ebook@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\Mi\AppData\Roaming\npm-cache\_logs\2019-02-10T04_19_07_453Z-debug.log

vuecli重装后也不管用

芦宇 0
2019-02-10 提问

1 个回答

0

删掉npm_modules,npm install 试试

你可能感兴趣的

推广链接