Felipe,
quando eu executo: npm install -g nodemon. Recebo esse retorno:
C:\Users\lsribeiro\AppData\Roaming\npm\nodemon -> C:\Users\lsribeiro\AppData\Roaming\npm\node_modules\nodemon\bin\nodemon.js
> nodemon@1.18.7 postinstall C:\Users\lsribeiro\AppData\Roaming\npm\node_modules\nodemon
> node bin/postinstall || exit 0
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.4 (node_modules\nodemon\node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.4: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
+ nodemon@1.18.7
updated 1 package in 3.801s
quando eu executo o código: npm install --no-optional, Retorno:
npm WARN cardfast@1.0.0 No description
npm WARN cardfast@1.0.0 No repository field.
audited 123 packages in 1.7s
found 0 vulnerabilities
Quando executo nodemon app.js, retorno:
bash: nodemon: command not found