LoginSignup
0
0

More than 3 years have passed since last update.

"nuxt-community/express-template"を使うとエラーが発生する(TypeError: Cannot read property 'eslint' of undefined)が、依存パッケージのバージョンアップで直った

Last updated at Posted at 2019-07-07

起動時にタイトルのエラーが発生する。package.jsonにあるeslint関連のバージョンを上げるとエラーは出なくなった。

--- a/package.json
+++ b/package.json
@@ -22,7 +22,7 @@
     "babel-eslint": "^7.2.3",
     "eslint": "^4.19.1",
     "eslint-config-standard": "^10.2.1",
-    "eslint-loader": "^1.9.0",
+    "eslint-loader": "^2.1.1",
     "eslint-plugin-html": "^3.2.2",
     "eslint-plugin-import": "^2.16.0",
     "eslint-plugin-node": "^5.2.1",

下記を見た。
https://github.com/nuxt-community/starter-template/pull/83

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