I cannot install Windows build tools for Node-red instalation

***Processing: 2021-10-12T09_51_15_223Z-debug.log...
EBUSY: resource busy or locked, rename 'C:\Users\Administrator\AppData\Roaming\npm\node_modules\windows-build-tools' -> 'C:\Users\Administrator\AppData\Roaming\npm\node_modules.windows-build-tools.DELETE'

npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Roaming\npm-cache_logs\2021-10-12T09_51_15_223Z-debug.log

Hi @Aash9

What command are you running when you get that error?

Try restarting computer to relase any locks / kill any hung processes

ALSO: delete the folder C:\Users\Administrator\AppData\Roaming\npm\node_modules\windows-build-tools (or at least delete the file/folder C:\Users\Administrator\AppData\Roaming\npm\node_modules.windows-build-tools.DELETE)

ALSO: make sure you run the installation command in an elevated command prompt (right click cmd, run as administrator)

Lastly, it can take a loooooong time (30mins plus) - wait it out.

See npm page for more info: windows-build-tools - npm

1 Like

hi knolleary

npm install --global --production windows-build-tools

command on windows 10

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