

Modify several other files: npm, npx, npx. We will be using the default configuration./conf/config. You can learn more about configuring it from its official docs. Before installing verdaccio, let’s create the configuration file that it uses to set up the NPM registry. Replace npm.cmd Row prefix -g for prefix -location=global Make sure you have Docker installed and running on your local.Enter the Nodejs installation directory.

Then execute npm install -global -production npm-windows-upgrade Open PowerShell as an administrator and run the following command: Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force Use NPM-Windows-Upgradeįirst, make sure that the NPM script can be performed by PowerShell. In addition, since it is npm.cmd After using the abandoned option, then modify it directly npm.cmd, Replace this option. The latest NPM should have fixed this problem, but I am using it npm i -g npm After installing the latest version, I will report this warning, so I use it npm-windows-upgrade This bag is updated to update NPM. npm.cmd The options that are abandoned are used in -gThis warning occurred. Use a launch config to start your program, or attach to a process launched outside of VS Code. Use the JavaScript debug terminal, similar to using the integrated terminal. The problem is that it appeared on the Windows platform. There are a few ways you can debug your Node.js programs in VS Code: Use auto attach to debug processes you run in VS Codes integrated terminal. Recent execution npm -v At that time, the NPM reported the following warning: npm WARN config global `-global`, `-local` are deprecated. Open the CMD as an administrator in Windows, and then execute the command npm install -g npm-windows-upgrade If the NPM command is not found, execute the following command to change the script strategy.
