質問編集履歴

4

追記

2020/08/25 05:34

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -146,7 +146,31 @@
146
146
 
147
147
 
148
148
 
149
-
149
+ npm fixができません
150
+
151
+ ```
152
+
153
+ audited 604 packages in 2.12s
154
+
155
+ found 369 vulnerabilities (364 low, 2 moderate, 3 high)
156
+
157
+ run `npm audit fix` to fix them, or `npm audit` for details
158
+
159
+ user@fukusyun-2 calender-app % npm audit fix
160
+
161
+ npm ERR! code EAUDITNOPJSON
162
+
163
+ npm ERR! audit No package.json found: Cannot audit a project without a package.json
164
+
165
+
166
+
167
+ npm ERR! A complete log of this run can be found in:
168
+
169
+ npm ERR! /Users/user/.npm/_logs/2020-08-25T05_33_23_586Z-debug.log
170
+
171
+ user@fukusyun-2 calender-app %
172
+
173
+ ```
150
174
 
151
175
 
152
176
 

3

エラー修正

2020/08/25 05:34

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -4,6 +4,8 @@
4
4
 
5
5
  ```
6
6
 
7
+ user@fukusyun-2 graphQL % nodemon app
8
+
7
9
  [nodemon] 2.0.4
8
10
 
9
11
  [nodemon] to restart at any time, enter `rs`

2

yarn コマンド

2020/08/25 04:03

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -188,6 +188,12 @@
188
188
 
189
189
  npx ncu -u
190
190
 
191
- npm update
191
+ npm update
192
+
193
+ npm outdated
192
194
 
193
195
  npm audit fix
196
+
197
+ yarn add nodemon
198
+
199
+ yarn add graphql

1

コマンド追加

2020/08/25 02:01

投稿

tomsuma
tomsuma

スコア38

test CHANGED
File without changes
test CHANGED
@@ -171,3 +171,23 @@
171
171
  killall -9 node
172
172
 
173
173
  コマンド後、でも同じく
174
+
175
+
176
+
177
+
178
+
179
+ 試したコマンド
180
+
181
+ rm package-lock.json && npm i && npm audit fix
182
+
183
+ npm --prefix ./server install ./server
184
+
185
+ npm i minimatch -D
186
+
187
+ npm install npm-check-updates
188
+
189
+ npx ncu -u
190
+
191
+ npm update
192
+
193
+ npm audit fix