• npm install 安装包报错


    D:hapi_learn>npm install --save hapi@17.x.x
    npm ERR! code ENOSELF
    npm ERR! Refusing to install package with name "hapi" under a package
    npm ERR! also called "hapi". Did you name your project the same
    npm ERR! as the dependency you're installing?
    npm ERR!
    npm ERR! For more information, see:
    npm ERR! <https://docs.npmjs.com/cli/install#limitations-of-npms-install-algorithm>
    
    npm ERR! A complete log of this run can be found in:
    npm ERR! C:UsersxwangaAppDataRoaming
    pm-cache\_logs2018-03-10T07_15_40_621Z-debug.log

    解决方法就是,修改package.json中的name名称,再重新执行安装命令即可。

  • 相关阅读:
    常见的arp欺骗
    ARP欺骗分析
    周总结
    周总结
    周总结
    win10下 修改host文件 新添域名不生效
    周总结
    周总结
    周总结
    周总结
  • 原文地址:https://www.cnblogs.com/lishidefengchen/p/8540182.html
Copyright © 2020-2023  润新知