Solucionado (ver solução)
Solucionado
(ver solução)
2
respostas

Esse erro estava ocorrendo quando eu dava um POST pelo postman

nodemon- app crashed - waiting for file changes before starting...

  throw er; // Unhandled 'error' event
  ^

Error: ENOENT: no such file or directory, open 'C:\Users\eljon\Documents\PROJECT\DESENVOLVE Boticario 2022\Rest NodeJS API MySQL\rest_nodejs_express_mysql\assets\salsicha.png' Emitted 'error' event on ReadStream instance at: at emitErrorNT (node:internal/streams/destroy:157:8) at emitErrorCloseNT (node:internal/streams/destroy:122:3) at processTicksAndRejections (node:internal/process/task_queues:83:21) { errno: -4058, code: 'ENOENT', syscall: 'open', path: 'C:\Users\eljon\Documents\PROJECT\DESENVOLVE Boticario 2022\Rest NodeJS API MySQL\rest_nodejs_express_mysql\assets\salsicha.png' } [nodemon] app crashed - waiting for file changes before starting...

2 respostas
solução!

A solução é bem simples. Era só reiniciar o serve.

Coloque no termina node : " rs" (colocar sem as aspas)

Show!!