You may meet this error on home directory. % npm uninstall appium npm WARN uninstall not installed in /Users/hrt0kmt/node_modules: "appium" You must uninstall npm package on directory which contains same node_modules. % cd /Users/hrt0kmt/.nodebr…
想要利用Hexo搭建一个博客,但是安装时npm一直报错,不仅仅是Hexo包,连别的其他包也不行,会提示下面的一堆错误 npm WARN onload-script failed to require onload script npm-autoinit/autoinit npm WARN onload-script failed to require onload script npm-autoinit/autoinit npm WARN onload-script Error: Cannot…
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 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…
更新下 使用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…
问题:在使用npm安装hexo时报错 $ npm install -g hexo npm WARN deprecated swig@1.4.2: This package is no longer maintained 解决办法: 执行命令'npm config set registry https://registry.npm.taobap.org',然后重新打开git bash执行'npm install -g hexo'即可    …
react-native init的时候出现问题:npm WARN React-native@0.35.0 requires a peer of react@~15.3.1 but none was 2017年12月05日 10:23:35 笨笨CEO 阅读数:4625 标签: react native 更多 个人分类: react native   react-native init的时候出现问题: 报错信息 解决方案: 方法一:npm install -save react@~15.3.1…
今天在使用npm安装插件的时候提示如下错误: npm WARN install Refusing to install vue-router as a dependency of itself npm 阻止安装插件. 将npm的镜像改成taobao的镜像后测试还是不行,修改npm镜像: sudo npm install -g cnpm --registry=https://registry.npm.taobao.org 后来发现是因为package.json里面的name名字和插件的名字同名,导…
在MAC上安装webpack以及reactjs等其它组件时,安装太慢卡住不动,直接ctrl+c终止后,再npm install后出npm WARN unmet dependency错误,npm cache clean后也不行. 解决方法是直接把当前的node_modules目录删除掉,重新npm install恢复正常.…
跑npm build结果如下: npm WARN build `npm build` called with no arguments. Did you mean to `npm run-script build`? 把指令改成npm run build即可: npm run build…