0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

npm run watch で webpackのエラーが出た時の対処方法

Posted at

実行したコマンド

npm run watch

エラー内容

Error: custom keyword definition is invalid: data/errors should be boolean

原因

ajv@6.9.0を使用するとwebpackが正しく動作しない不具合がありました。

対応

ajvのバージョンをダウングレードする。
6.8.1にするとエラーが無くなりました。

npm uninstall ajv
npm install ajv@6.8.1

参考

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?