-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PhantomJS not found on PATH #11
Comments
This was referenced May 31, 2017
我的Mac在全局安装elf-cli的时候, 开了翻墙 还是各种安装不了,因为这个PhantomJS 只是这个架手架的某个依赖,最终还是 使用cnpm 全局安装了 |
但是我想安装特定版本的时候,就会出现 npm ERR! notarget No matching version found for [email protected]
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of '4821bed2284b9b922abc8495e4b540c30143ce30-362d2a0-c6bbe17'
npm ERR! notarget
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-08-16T09_27_38_126Z-debug.log |
看提示应该是这个1.9.7-1版本不存在,npmjs.com也搜不到@11510746 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
今天安装包时碰到问题:
后来发现是天朝网络的原因:它的安装过程中要去 github 下载一个包,而 github release 文件放在亚马逊 aws 上(被墙了)。解决方法是借助淘宝镜像 (
http://cnpmjs.org/downloadshttps://npm.taobao.org/mirrors/phantomjs/) 安装,输入以下命令:同样安装
node-sass
也会出现类似的问题,解决方法依然是淘宝镜像:Tips:
如果不想每次都输入前面变量可以将它们写入
~/.npmrc
文件中😄(https://docs.npmjs.com/files/npmrc)The text was updated successfully, but these errors were encountered: