![]() It still lists the other proxy as the default. However, when I run the following command: npm config list I am able to change the registry using the following command: npm config set registry npm config set registry you can find more information with npm help config command, also check for privileges when and if you are running.The correct command for changing registry is. npmrc file which is the configuration for npm. 'npm config ls -l' to show all defaults. You shouldn't change the npm registry using. For example, installing packages from Bit Cloud requires you to add its registry as a scoped registry. When I attempt to see my npm configurations, I use the following command: npm config listĪnd see the following settings: cli configs To change the registry, you can run the npm config set registry command, followed by the registry URL: npm config set registry Sometimes, you have packages that are not available in the default registry.The proxy has been verified as correct and when I attempt to install an item from the Node Package Manager to a directory that contains a package.json file, I receive the following error: npm REGISTRY json parsing error ![]() ![]()
3 Comments
|
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |