質問編集履歴
4
追記
title
CHANGED
File without changes
|
body
CHANGED
@@ -72,7 +72,19 @@
|
|
72
72
|
})
|
73
73
|
```
|
74
74
|
|
75
|
+
npm fixができません
|
76
|
+
```
|
77
|
+
audited 604 packages in 2.12s
|
78
|
+
found 369 vulnerabilities (364 low, 2 moderate, 3 high)
|
79
|
+
run `npm audit fix` to fix them, or `npm audit` for details
|
80
|
+
user@fukusyun-2 calender-app % npm audit fix
|
81
|
+
npm ERR! code EAUDITNOPJSON
|
82
|
+
npm ERR! audit No package.json found: Cannot audit a project without a package.json
|
75
83
|
|
84
|
+
npm ERR! A complete log of this run can be found in:
|
85
|
+
npm ERR! /Users/user/.npm/_logs/2020-08-25T05_33_23_586Z-debug.log
|
86
|
+
user@fukusyun-2 calender-app %
|
87
|
+
```
|
76
88
|
|
77
89
|
|
78
90
|
scriptの方を
|
3
エラー修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
nodemon app でサーバーを起動しようとすると
|
2
2
|
このようなエラーが出ます
|
3
3
|
```
|
4
|
+
user@fukusyun-2 graphQL % nodemon app
|
4
5
|
[nodemon] 2.0.4
|
5
6
|
[nodemon] to restart at any time, enter `rs`
|
6
7
|
[nodemon] watching path(s): *.*
|
2
yarn コマンド
title
CHANGED
File without changes
|
body
CHANGED
@@ -93,5 +93,8 @@
|
|
93
93
|
npm i minimatch -D
|
94
94
|
npm install npm-check-updates
|
95
95
|
npx ncu -u
|
96
|
-
npm update
|
96
|
+
npm update
|
97
|
+
npm outdated
|
97
|
-
npm audit fix
|
98
|
+
npm audit fix
|
99
|
+
yarn add nodemon
|
100
|
+
yarn add graphql
|
1
コマンド追加
title
CHANGED
File without changes
|
body
CHANGED
@@ -84,4 +84,14 @@
|
|
84
84
|
にしてみたりといろいろいじったのですがダメでした
|
85
85
|
|
86
86
|
killall -9 node
|
87
|
-
コマンド後、でも同じく
|
87
|
+
コマンド後、でも同じく
|
88
|
+
|
89
|
+
|
90
|
+
試したコマンド
|
91
|
+
rm package-lock.json && npm i && npm audit fix
|
92
|
+
npm --prefix ./server install ./server
|
93
|
+
npm i minimatch -D
|
94
|
+
npm install npm-check-updates
|
95
|
+
npx ncu -u
|
96
|
+
npm update
|
97
|
+
npm audit fix
|