Node.js reinstalled NPM failed

C:\Users\Didactic Laptop 02>npm install -g --unsafe-perm node-red
npm ERR! Cannot read property 'resolve' of undefined

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Didactic Laptop 02\AppData\Roaming\npm-cache_logs\2021-03-03T09_08_46_471Z-debug.log

This is a known problem on some versions of node/npm. If you're using anything below nodejs version 12 I suggest you upgrade to version 12 or better still version 14

This works.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.