npm 取消淘宝镜像,恢复默认资源地址

设置淘宝的是: npm config set registry https://registry.npm.taobao.org 不想用他们的,再设置回原来的就可以了: npm config set registry https://registry.npmjs.org

Read more...

npm i egg –save npm ERR! code ENOSELF

错误提示:   localhost:egg shaozeming$ npm init This utility will walk you through creating a package.json file. It only covers the most common items, and tries to guess sensible defaults. See `npm help json` for definitive d…

Read more...