• npm 安装

    npm 安装 npm install 全局安装 npm install npm -g 安装淘宝镜像 https://github.com/cnpm/cnpm npm install -g cnpm --registry=https://registry.npm.taobao.org npm安装到指定版本 比如安装1.2.3 npm install -g npm@1.2.3 npm升级 npm升级h…

    学习 2021-04-24 1882

  • React create-react-app Unexpected end of JSON input while parsing near

    react 执行 create-react-app 时报这个错误, Unexpected end of JSON input while parsing near '...NATURE-----\r\n"},"en' 首先执行 npm cache clean --force 在重新安装一遍npm npm install npm -g 参考: https://www.jianshu.com/p/c7…

    学习 2021-04-24 2093

  • npm 升级

    npm 升级 npm升级准确来说应该是重新安装一遍,默认安装最新版本 npm install -g npm npm升级到指定版本 比如升级到1.2.3 换句话说,就是重新安装一下,然后安装到指定的版本 npm install -g npm@1.2.3 参考: https://www.cnblogs.com/looyulong/p/9835955.html

    学习 2020-09-20 1836

  • Error: Can’t resolve ‘babel-runtime/core-js/object/get-prototype-of’

    ERROR in ./src/index.js Module not found: Error: Can't resolve 'babel-runtime/core-js/object/get-prototype-of' in 'E:\Code\web\web\webpack-20190318\src' @ ./src/index.js 3:22-78 @ multi ./node_modules…

    学习 2019-03-19 6707