I am migrating to a new (virtual) Windows 10 machine, and have got to the stage of installing Electron.
I have successfully installed node.js (node-v16.16.0-x64.msi) into C:\Program Files
and now have a cmd
prompt.
When I run
npm update npm
I get the following error:
npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
npm ERR! Tracker "idealTree" already exists
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\mark\AppData\Local\npm-cache\_logs\2022-07-21T05_48_27_188Z-debug-0.log
I get the same error if I try installing anything with npm
, but this is the same problem after a fresh install.
Is there a bug with npm
or is there something magical I’m not doing right?