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...

安装最新版nodejs和npm(源码安装)

之前用Ubuntu16.04,里面的node 和 npm 都是很老的稳定版,不能满足需求,apt 按装不了新的版本,试了些命令,还是有问题,最后还是去官网下源码包直接。而且也并不麻烦,只是编译的时候会花一些时间。

Read more...