npm ERR! code ENOSELF npm ERR! Refusing to install package with name "webpack" under a package npm ERR! also called "webpack". Did you name your project the same npm ERR! as the dependency you're installing? npm ERR! npm ERR! For more…
用npm安装webpack的时候报了这个错: Refusing to install webpack as a dependency of itself 翻译过来大概是:'拒绝安装webpack其本身的依赖'. 然后我试了试安装其他的包,都没问题,唯独webpack,见鬼了. 我想到npm init的时候,name名给的就是webpack,于是我进到package.json中,把name改成了myApp,再安装webpack,成功了! 这些坑真是...…
转自树之名原文npm WARN saveError ENOENT: no such file or directory解决 我是在安装sequelize时出错的.提示的错误没有保存,类似于参考的文章中说的安装vue时的报错. C:\Users\lxz>npm uninstall vueWcsp npm WARN saveError ENOENT: no such file or directory, open 'C:\Users\lxz\package.json' npm WARN enoent…
Description The article for vue router. Original post link:https://www.cnblogs.com/markjiang7m2/p/10796020.html Source code:https://gitee.com/Sevenm2/Vue.Web/tree/master/Vue.Router Start Actually we should only remember 3 points for vue router. <rout…
install the react-native here comes a questions :: npm WARN react-native@0.41.2 requires a peer of react@~15.4.0 but none is installed. You must install peer dependencies yourself. HOW TO SOLVE THIS PROBLEM~~~~~::: Deleted node_module director…
执行 npm install socket.io安装时报错: [root@WEB node_modules]# npm install socket.ionpm WARN enoent ENOENT: no such file or directory, open '/usr/local/nodejs/bin/package.json' npm WARN bin No description npm WARN bin No repository field. npm WARN bin No RE…
最近在研究node.js,在安装npm的时候发现了几个报错,瞬间蒙圈,查找文献基本解决(文献好少呀~ -.-) 一.报错:“can not open path/path/package.json” 原因:在安装npm的时候,终端会调取一个叫package.json的文件,里边包含了 name,version,dependencies 等等属性信息,当终端找不到该文件的时候也就不能完成安装操作. 解决方法:在对应的path下边创建该文件,并且把需要的模块写在dependencies…
遇到如下警告 PS C:\Users\Administrator> npm npm WARN npm npm does not support Node.js v9.11.2 npm WARN npm You should probably upgrade to a newer version of node as npm WARN npm can't make any promises that npm will work with this vers npm WARN npm Support…
更新下 使用yarn貌似会帮助跳过这个问题: info fsevents@2.1.2: The platform "win32" is incompatible with this module.info "fsevents@2.1.2" is an optional dependency and failed compatibility check. Excluding it from installation.info fsevents@1.2.9: The p…