Ao dar o comando de instalação (npm install -g nodemon/npm install --save-dev nodemon) me aparece o seguinte erro:
Debugger attached. npm ERR! code SELF_SIGNED_CERT_IN_CHAIN npm ERR! errno SELF_SIGNED_CERT_IN_CHAIN npm ERR! request to https://registry.npmjs.org/nodemon failed, reason: self signed certificate in certificate chain
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\fernanda.fernandes\AppData\Roaming\npm-cache_logs\2021-10-07T14_30_18_587Z-debug.log Waiting for the debugger to disconnect...