teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

1

詳細追加

2021/07/15 03:31

投稿

ruizu
ruizu

スコア35

title CHANGED
File without changes
body CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  Next.js11&ts環境にてBuildを試みていますが、eslint関連のエラーで落ちてしまいます。
4
4
 
5
+
5
6
  ### 発生している問題・エラーメッセージ
6
7
 
7
8
  ```bash
@@ -76,4 +77,30 @@
76
77
  ### 試したこと
77
78
 
78
79
  - eslintバージョン上げ
79
- - eslint再インストール
80
+ - eslint再インストール
81
+
82
+
83
+ ```bash
84
+ npm i --save-dev typescript @typescript-eslint/parser
85
+ ```
86
+
87
+
88
+ ```log
89
+ npm install --save-dev eslint @typescript-eslint/eslint-plugin @typescript-eslint/parser prettier eslint-config-prettier eslint-plugin-prettier
90
+ npm notice save @typescript-eslint/parser is being moved from dependencies to devDependencies
91
+ npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules\fsevents):
92
+ npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
93
+
94
+ + eslint@7.30.0
95
+ + eslint-config-prettier@8.3.0
96
+ + eslint-plugin-prettier@3.4.0
97
+ + @typescript-eslint/eslint-plugin@4.28.3
98
+ + @typescript-eslint/parser@4.28.3
99
+ + prettier@2.3.2
100
+ added 8 packages from 7 contributors, removed 2 packages, updated 5 packages, moved 1 package and audited 551 packages in 3.806s
101
+
102
+ 77 packages are looking for funding
103
+ run `npm fund` for details
104
+
105
+ found 0 vulnerabilities
106
+ ```