nuxt.js で custom keyword definition is invalid: data/errors should be boolean でlocalhostが動かなかったら by @UguisuMochizuki
nuxt.js で custom keyword definition is invalid: data/errors should be boolean でlocalhostが動かなかったら by @UguisuMochizuki:
結論
- アンインストール
npm uninstall ajv
- インストール
npm install ajv@6.8.1
成功したら
> nuxt ℹ Preparing project for development 13:54:47 ℹ Initial build may take a while 13:54:47 ✔ Builder initialized 13:54:47 ✔ Nuxt files generated 13:54:47 ✔ Client Compiled successfully in 5.68s ✔ Server Compiled successfully in 5.30s ℹ Waiting for file changes 13:54:55 ╭─────────────────────────────────────────────╮ │ │ │ Nuxt.js v2.4.3 │ │ Running in development mode (universal) │ │ Memory usage: 166 MB (RSS: 245 MB) │ │ │ │ Listening on: http://localhost:3000 │ │ │ ╰─────────────────────────────────────────────╯ ↻ Updated node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js
経緯
立ち上がらない
> nuxt ERROR custom keyword definition is invalid: data/errors should be boolean 13:52:23 at Ajv.addKeyword (node_modules/ajv/lib/keyword.js:65:13) at module.exports (node_modules/ajv-errors/index.js:10:7) at Object.<anonymous> (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:20:18)
コメント
コメントを投稿