![]() ![]() ![]() The error says that it can't continue because NPM can't overwrite the files that are already in your system, the files that should be overwritten are inside this path %ProgramFiles%\nodejs and the files are these: Npm ERR! File exists: C:\Program Files\nodejs\npx.cmd Npm ERR! Refusing to delete C:\Program Files\nodejs\npx.cmd: is outside C:\Program Files\nodejs\node_modules\npx and not a link Npm ERR! path C:\Program Files\nodejs\npx.cmd The problems come when you use chocolatey to install NVM and then you want to update all your packages or only NPM using npm update -g you will see an error similar to this one: C:\>npm update -g NVM is a tool to install different versions of Node.js and it is very useful for developers because it is very simple to work with different versions, but NVM was intended to work for Linux and Mac and NVM for Windows is a different project but it works very well. ![]() Chocolatey is used frequently to install this kind of utilities but sometimes it could come with problems. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |