set npm registry
npm config set registry https://registry.npmjs.org/
Source: docs.npmjs.com
npm install custom registry
npm config set registry <registry url> npm install --registry=<registry url>
npm registry
https://registry.npmjs.org
Source: docs.npmjs.com
1- node uninstall and install latest version 2- run command in main directory and project npm config set registry http://registry.npmjs.org 3- Run THis Command in project directoy or main directory npm -g install npm npm cache clean -f 4- again install npm i in project directory npm install -g n 5- again install package
npm windows registry
var utils = require('windows-registry').utils;utils.associateExeForFile('myTestHandler', 'A test handler for unit tests', 'C:\\path\\to\\icon', 'C:\\Program Files\\nodejs\\node.exe %1', '.zzz');
Source: www.npmjs.com