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

[FAQ] FIS安装失败 #65

Open
hefangshi opened this Issue Jun 4, 2014 · 143 comments

Comments

Projects
None yet
@hefangshi
Member

hefangshi commented Jun 4, 2014

FIS作为nodejs模块发布托管在 npm上,npm是nodejs的包管理工具。查看npm网站

用户需要使用npm install命令来安装FIS。更多npm使用,执行 npm -h 来查看

由于npm经常被墙,安装FIS的时候会出现速度过慢,或者安装不上的问题 。可以通过 npm的 --registry 参数指定仓库。指定国内的npm镜像来解决npm被墙的问题。

例如:

npm install some-npm-module -g --registry=国内镜像 --disturl=https://npm.taobao.org/dist

即你可以通过下面的命令使用cnpmjs仓库安装FIS

npm install fis -g --registry=http://registry.npm.taobao.org/ --disturl=https://npm.taobao.org/dist

注意 如果提示Error: No compatible version found.. ,有可能是npm版本过低导致,可以参考 #83 解决

注意 如果提示WARN optional dep failed, continuing fsevents 警告,可以无视,这个是一个可选依赖包,仅在Mac下可以使用。

@hefangshi hefangshi added the faq label Jun 4, 2014

@hefangshi hefangshi changed the title from FIS安装失败 to FAQ:FIS安装失败 Jun 4, 2014

@hefangshi hefangshi changed the title from FAQ:FIS安装失败 to [FAQ]FIS安装失败 Jun 4, 2014

@hefangshi hefangshi changed the title from [FAQ]FIS安装失败 to [FAQ] FIS安装失败 Jun 4, 2014

@wudi0431

This comment has been minimized.

Show comment
Hide comment
@wudi0431

wudi0431 Nov 26, 2014

MBP 安装 fis 失败

LPT41320:~ wudi$ sudo npm install fis -g

Password:

fsevents@0.3.1 install /usr/local/lib/node_modules/fis/node_modules/fis-command-server/node_modules/chokidar/node_modules/fsevents

node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/wudi/.node-gyp/0.10.33"

gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/fis/node_modules/fis-command-server/node_modules/chokidar/node_modules/fsevents/.node-gyp"

^CLPT41320:~ wudi$

LPT41320:~ wudi$ node -v

v0.10.33

LPT41320:~ wudi$ npm -v

1.4.28

wudi0431 commented Nov 26, 2014

MBP 安装 fis 失败

LPT41320:~ wudi$ sudo npm install fis -g

Password:

fsevents@0.3.1 install /usr/local/lib/node_modules/fis/node_modules/fis-command-server/node_modules/chokidar/node_modules/fsevents

node-gyp rebuild

gyp WARN EACCES user "root" does not have permission to access the dev dir "/Users/wudi/.node-gyp/0.10.33"

gyp WARN EACCES attempting to reinstall using temporary dev dir "/usr/local/lib/node_modules/fis/node_modules/fis-command-server/node_modules/chokidar/node_modules/fsevents/.node-gyp"

^CLPT41320:~ wudi$

LPT41320:~ wudi$ node -v

v0.10.33

LPT41320:~ wudi$ npm -v

1.4.28

@hefangshi

This comment has been minimized.

Show comment
Hide comment
@hefangshi

hefangshi Nov 26, 2014

Member

试试看sudo npm install --unsafe-perm -g fis

Member

hefangshi commented Nov 26, 2014

试试看sudo npm install --unsafe-perm -g fis

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Nov 27, 2014

Contributor

尝试删掉 /Users/wudi/.node-gyp/0.10.33 这个目录再试

Contributor

xiangshouding commented Nov 27, 2014

尝试删掉 /Users/wudi/.node-gyp/0.10.33 这个目录再试

@wudi0431

This comment has been minimized.

Show comment
Hide comment
@wudi0431

wudi0431 Nov 28, 2014

谢谢 已安装成功 困为我本地没有 .node-gyp/0.10.33 这个 下载 就好了

wudi0431 commented Nov 28, 2014

谢谢 已安装成功 困为我本地没有 .node-gyp/0.10.33 这个 下载 就好了

@git-lt

This comment has been minimized.

Show comment
Hide comment
@git-lt

git-lt Nov 30, 2014

安装时出现以下问题
npm WARN optional dep failed, continuing fsevents@0.3.1
npm WARN optional dep failed, continuing fsevents@0.2.1
国内镜像也试过了,同样报错

git-lt commented Nov 30, 2014

安装时出现以下问题
npm WARN optional dep failed, continuing fsevents@0.3.1
npm WARN optional dep failed, continuing fsevents@0.2.1
国内镜像也试过了,同样报错

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Nov 30, 2014

Contributor

理论上来说,可以忽略这个报错;完成后试试命令是否可以调用;

fis -v

如果不能正常工作,试图升级node版本到0.10.33,然后清除npm的缓存等来试图修复此问题。

npm cache clean
Contributor

xiangshouding commented Nov 30, 2014

理论上来说,可以忽略这个报错;完成后试试命令是否可以调用;

fis -v

如果不能正常工作,试图升级node版本到0.10.33,然后清除npm的缓存等来试图修复此问题。

npm cache clean
@git-lt

This comment has been minimized.

Show comment
Hide comment
@git-lt

git-lt Nov 30, 2014

运行 fis -v 是正常的,但是运行quickstart-demo的时候报错
C:\Users\fis-quickstart-demo>fis server start --type node
starting fis-server .. fail
module.js:340
throw err;

Error: Cannot find module 'crc'

C:\Users\fis-quickstart-demo>fis server start --type node
starting fis-server .. fail

module.js:340
throw err;
^
Error: Cannot find module 'mime-db'

at Function.Module._resolveFilename (module.js:338:15)

node v0.10.33

git-lt commented Nov 30, 2014

运行 fis -v 是正常的,但是运行quickstart-demo的时候报错
C:\Users\fis-quickstart-demo>fis server start --type node
starting fis-server .. fail
module.js:340
throw err;

Error: Cannot find module 'crc'

C:\Users\fis-quickstart-demo>fis server start --type node
starting fis-server .. fail

module.js:340
throw err;
^
Error: Cannot find module 'mime-db'

at Function.Module._resolveFilename (module.js:338:15)

node v0.10.33

@hefangshi

This comment has been minimized.

Show comment
Hide comment
@hefangshi

hefangshi Nov 30, 2014

Member

看起来是没有安装全就取消安装了,npm WARN optional dep failed并非报错,这个提示只是指可选的依赖安装失败,但是不影响正常安装,你尝试再重新安装一下吧

Member

hefangshi commented Nov 30, 2014

看起来是没有安装全就取消安装了,npm WARN optional dep failed并非报错,这个提示只是指可选的依赖安装失败,但是不影响正常安装,你尝试再重新安装一下吧

@youbl

This comment has been minimized.

Show comment
Hide comment
@youbl

youbl Dec 3, 2014

报下面的错误是啥原因啊,我不用镜像,或用淘宝镜像,都出下面的错误:

npm ERR! Error: getaddrinfo ESRCH
npm ERR! at errnoException (dns.js:37:11)
npm ERR! at Object.onanswer as oncomplete
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 2.6.32-279.el6.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "fis" "-g" "--registry=http://registry.npm.taobao.org/"
npm ERR! cwd /root
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! syscall getaddrinfo
npm ERR! code ESRCH
npm ERR! errno ESRCH
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

youbl commented Dec 3, 2014

报下面的错误是啥原因啊,我不用镜像,或用淘宝镜像,都出下面的错误:

npm ERR! Error: getaddrinfo ESRCH
npm ERR! at errnoException (dns.js:37:11)
npm ERR! at Object.onanswer as oncomplete
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 2.6.32-279.el6.x86_64
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "install" "fis" "-g" "--registry=http://registry.npm.taobao.org/"
npm ERR! cwd /root
npm ERR! node -v v0.10.33
npm ERR! npm -v 1.4.28
npm ERR! syscall getaddrinfo
npm ERR! code ESRCH
npm ERR! errno ESRCH
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! /root/npm-debug.log
npm ERR! not ok code 0

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Dec 3, 2014

Contributor

@youbl 怎么看着是网络配置的问题呢,无法获取DNS;你尝试这请求一把看看报错不?

$ curl http://registry.npmjs.org/fis
Contributor

xiangshouding commented Dec 3, 2014

@youbl 怎么看着是网络配置的问题呢,无法获取DNS;你尝试这请求一把看看报错不?

$ curl http://registry.npmjs.org/fis
@youbl

This comment has been minimized.

Show comment
Hide comment
@youbl

youbl Dec 4, 2014

@xiangshouding
昨天已经解决了,就是网络不通造成的,开启了VPN,造成无法连接外网了

youbl commented Dec 4, 2014

@xiangshouding
昨天已经解决了,就是网络不通造成的,开启了VPN,造成无法连接外网了

@enforceway

This comment has been minimized.

Show comment
Hide comment
@enforceway

enforceway Dec 4, 2014

lights install fis-quickstart-demo下载失败。这个也是网络原因啊?nodejs v0.10.33下出现的错误。

enforceway commented Dec 4, 2014

lights install fis-quickstart-demo下载失败。这个也是网络原因啊?nodejs v0.10.33下出现的错误。

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Dec 4, 2014

Contributor

@enforceway 得贴提示,错误提示是啥?

Contributor

xiangshouding commented Dec 4, 2014

@enforceway 得贴提示,错误提示是啥?

@enforceway

This comment has been minimized.

Show comment
Hide comment
@enforceway

enforceway Dec 8, 2014

@xiangshouding ,
我确认一下哈 ,fis是好用的,fis -v 提示版本是v1.8.6。我的问题是,执行lights install fis-quickstart-demo提示的是
Install start: Start download Component [fis-quickstart-demo@latest].
Install failed: Install [fis-quickstart-demo@latest] failed

这个提示‘Install failed: Install [fis-quickstart-demo@latest] failed’是红色的.

enforceway commented Dec 8, 2014

@xiangshouding ,
我确认一下哈 ,fis是好用的,fis -v 提示版本是v1.8.6。我的问题是,执行lights install fis-quickstart-demo提示的是
Install start: Start download Component [fis-quickstart-demo@latest].
Install failed: Install [fis-quickstart-demo@latest] failed

这个提示‘Install failed: Install [fis-quickstart-demo@latest] failed’是红色的.

@frontendnote

This comment has been minimized.

Show comment
Hide comment
@frontendnote

frontendnote Dec 8, 2014

我安装也失败了 直接git上下载压缩包吧

frontendnote commented Dec 8, 2014

我安装也失败了 直接git上下载压缩包吧

@highsea

This comment has been minimized.

Show comment
Hide comment
@highsea

highsea Dec 29, 2014

FIS是顺利成功了,
但是安装 _lights_ 时要求_node_版本在v0.10.27以上,
于是升级 node 时安装 n 模块报错……

$ npm install -g n

说我 windows 不兼容 0.0

npm ERR! notsup Valid OS:    !win32
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64
npm ERR! System Windows_NT 6.1.7601

现在 下载安装包中…… node

highsea commented Dec 29, 2014

FIS是顺利成功了,
但是安装 _lights_ 时要求_node_版本在v0.10.27以上,
于是升级 node 时安装 n 模块报错……

$ npm install -g n

说我 windows 不兼容 0.0

npm ERR! notsup Valid OS:    !win32
npm ERR! notsup Valid Arch:  any
npm ERR! notsup Actual OS:   win32
npm ERR! notsup Actual Arch: x64
npm ERR! System Windows_NT 6.1.7601

现在 下载安装包中…… node

@tmeixia

This comment has been minimized.

Show comment
Hide comment
@tmeixia

tmeixia Dec 29, 2014

怎么解决啊???????
image

tmeixia commented Dec 29, 2014

怎么解决啊???????
image

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Dec 29, 2014

Contributor
  • 提示已经显示很清楚了,叫你用root权限试试
  • 出现这种情况,可能你安装的时候用了sudo安装的。
sudo rm -rf /usr/local/lib/node_modules/fis
npm install -g fis #
Contributor

xiangshouding commented Dec 29, 2014

  • 提示已经显示很清楚了,叫你用root权限试试
  • 出现这种情况,可能你安装的时候用了sudo安装的。
sudo rm -rf /usr/local/lib/node_modules/fis
npm install -g fis #
@tmeixia

This comment has been minimized.

Show comment
Hide comment
@tmeixia

tmeixia Dec 29, 2014

已解决,谢谢

tmeixia commented Dec 29, 2014

已解决,谢谢

@skybluefly

This comment has been minimized.

Show comment
Hide comment
@skybluefly

skybluefly Jan 15, 2015

我又重新把java、php-cgi命令添加到环境变量中,输入C:\users\administrator\fis-quickstart-demo>fis server start 时报错了:[error] fail to execute 'tasklist' command,please add your system path
<eg:c:\windows\system32,you should replace 'c' with your system disk> in %path%

skybluefly commented Jan 15, 2015

我又重新把java、php-cgi命令添加到环境变量中,输入C:\users\administrator\fis-quickstart-demo>fis server start 时报错了:[error] fail to execute 'tasklist' command,please add your system path
<eg:c:\windows\system32,you should replace 'c' with your system disk> in %path%

@hefangshi

This comment has been minimized.

Show comment
Hide comment
@hefangshi

hefangshi Jan 15, 2015

Member

@skybluefly 你的环境变量坏的比较严重,C:\Windows\System32都被删掉了,才会报这个错误

Member

hefangshi commented Jan 15, 2015

@skybluefly 你的环境变量坏的比较严重,C:\Windows\System32都被删掉了,才会报这个错误

@skybluefly

This comment has been minimized.

Show comment
Hide comment
@skybluefly

skybluefly Jan 16, 2015

@hefangshi 我重新安装过系统,可以正常使用了,非常感谢你的回答!

skybluefly commented Jan 16, 2015

@hefangshi 我重新安装过系统,可以正常使用了,非常感谢你的回答!

@Excepti0nasE

This comment has been minimized.

Show comment
Hide comment
@Excepti0nasE

Excepti0nasE Jan 28, 2015

表示 os x 10.10安装fis也是一堆ERR报错。
换了镜像也没用。

Excepti0nasE commented Jan 28, 2015

表示 os x 10.10安装fis也是一堆ERR报错。
换了镜像也没用。

@luoye-fe

This comment has been minimized.

Show comment
Hide comment
@luoye-fe

luoye-fe May 4, 2015

降了node和npm的版本之后下载的提示滚起来了,可是之后测试fis -v,依旧失败,

luoye-fe commented May 4, 2015

降了node和npm的版本之后下载的提示滚起来了,可是之后测试fis -v,依旧失败,

@luoye-fe

This comment has been minimized.

Show comment
Hide comment
@luoye-fe

luoye-fe commented May 4, 2015

qq 20150504200835

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding May 4, 2015

Contributor

D:\Program Files\nodejs\node_global 加到环境变量里面。

Contributor

xiangshouding commented May 4, 2015

D:\Program Files\nodejs\node_global 加到环境变量里面。

@ihuguowei

This comment has been minimized.

Show comment
Hide comment
@ihuguowei

ihuguowei May 7, 2015

按照新手教程,运行demo报错。
qq 20150507173203
请问如何解决?

ihuguowei commented May 7, 2015

按照新手教程,运行demo报错。
qq 20150507173203
请问如何解决?

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding May 7, 2015

Contributor

@ihuguowei 这个已经应该是启动服务成功了,只是开启浏览器的时候跪了;

你可以直接访问 http://127.0.0.1:8080

Contributor

xiangshouding commented May 7, 2015

@ihuguowei 这个已经应该是启动服务成功了,只是开启浏览器的时候跪了;

你可以直接访问 http://127.0.0.1:8080

@ihuguowei

This comment has been minimized.

Show comment
Hide comment
@ihuguowei

ihuguowei May 7, 2015

@xiangshouding 是的,服务可以正常访问的。谢谢。

ihuguowei commented May 7, 2015

@xiangshouding 是的,服务可以正常访问的。谢谢。

@libofei2004

This comment has been minimized.

Show comment
Hide comment
@libofei2004

libofei2004 May 17, 2015

请问如何进行离线安装?windows环境下。

libofei2004 commented May 17, 2015

请问如何进行离线安装?windows环境下。

@morongs

This comment has been minimized.

Show comment
Hide comment
@morongs

morongs Jun 2, 2015

image
请问是怎么回事?

morongs commented Jun 2, 2015

image
请问是怎么回事?

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Jun 2, 2015

Contributor

@morongs

?

fis -v
Contributor

xiangshouding commented Jun 2, 2015

@morongs

?

fis -v
@morongs

This comment has been minimized.

Show comment
Hide comment
@morongs

morongs commented Jun 2, 2015

image

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Jun 2, 2015

Contributor
fis server clean
fis server start --type node
Contributor

xiangshouding commented Jun 2, 2015

fis server clean
fis server start --type node
@morongs

This comment has been minimized.

Show comment
Hide comment
@morongs

morongs Jun 2, 2015

@xiangshouding 可以了,感谢!

morongs commented Jun 2, 2015

@xiangshouding 可以了,感谢!

@flashgame

This comment has been minimized.

Show comment
Hide comment
@flashgame

flashgame Jun 5, 2015

mac下安装node-gyp rebuild的问题还是出现了,使用上述提到的方案,都没有解决。难道真需要降级node或npm到某个版本?
目前node:v0.12.v,npm:2.11.1

flashgame commented Jun 5, 2015

mac下安装node-gyp rebuild的问题还是出现了,使用上述提到的方案,都没有解决。难道真需要降级node或npm到某个版本?
目前node:v0.12.v,npm:2.11.1

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Jun 5, 2015

Contributor

@flashgame

一般遇到这个问题是你安装 node 时用的 root 权限,然后呢 npm 安装组件的时候又没用 root 权限;或者是在任何这个过程中用了 root 权限。

这个问题解决起来可以修改某些路径的权限抑或是自己设定 npm 安装的目录等方式解决;

Contributor

xiangshouding commented Jun 5, 2015

@flashgame

一般遇到这个问题是你安装 node 时用的 root 权限,然后呢 npm 安装组件的时候又没用 root 权限;或者是在任何这个过程中用了 root 权限。

这个问题解决起来可以修改某些路径的权限抑或是自己设定 npm 安装的目录等方式解决;

@flashgame

This comment has been minimized.

Show comment
Hide comment
@flashgame

flashgame Jun 8, 2015

@xiangshouding 非常感谢,已经解决了问题。

flashgame commented Jun 8, 2015

@xiangshouding 非常感谢,已经解决了问题。

@wangchi

This comment has been minimized.

Show comment
Hide comment
@wangchi

wangchi Jun 23, 2015

Success!

  v1.9.28
 __/\\\\\\\\\\\\\\\__/\\\\\\\\\\\_____/\\\\\\\\\\\___
  _\/\\\///////////__\/////\\\///____/\\\/////////\\\_       
   _\/\\\_________________\/\\\______\//\\\______\///__
    _\/\\\\\\\\\\\_________\/\\\_______\////\\\_________     
     _\/\\\///////__________\/\\\__________\////\\\______    
      _\/\\\_________________\/\\\_____________\////\\\___   
       _\/\\\_________________\/\\\______/\\\______\//\\\__
        _\/\\\______________/\\\\\\\\\\\_\///\\\\\\\\\\\/___
         _\///______________\///////////____\///////////_____

wangchi commented Jun 23, 2015

Success!

  v1.9.28
 __/\\\\\\\\\\\\\\\__/\\\\\\\\\\\_____/\\\\\\\\\\\___
  _\/\\\///////////__\/////\\\///____/\\\/////////\\\_       
   _\/\\\_________________\/\\\______\//\\\______\///__
    _\/\\\\\\\\\\\_________\/\\\_______\////\\\_________     
     _\/\\\///////__________\/\\\__________\////\\\______    
      _\/\\\_________________\/\\\_____________\////\\\___   
       _\/\\\_________________\/\\\______/\\\______\//\\\__
        _\/\\\______________/\\\\\\\\\\\_\///\\\\\\\\\\\/___
         _\///______________\///////////____\///////////_____
@star2478

This comment has been minimized.

Show comment
Hide comment
@star2478

star2478 Jul 1, 2015

我执行npm install -g fis时,报以下错误,请问是什么原因:
npm ERR! at Object.parse (native)
npm ERR! at RegClient. (/home/hlx/node/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:266:23)
npm ERR! at Request._callback (/home/hlx/node/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:238:65)
npm ERR! at Request.self.callback (/home/hlx/node/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR! at Request.emit (events.js:98:17)
npm ERR! at Request. (/home/hlx/node/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR! at Request.emit (events.js:117:20)
npm ERR! at IncomingMessage. (/home/hlx/node/lib/node_modules/npm/node_modules/request/request.js:844:12)
npm ERR! at IncomingMessage.emit (events.js:117:20)
npm ERR! at _stream_readable.js:938:16
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
npm ERR! command "/home/hlx/node/bin/node" "/home/hlx/node/bin/npm" "install" "-g" "fis"
npm ERR! cwd /home/hlx
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! type unexpected_eos
npm ERR! registry error parsing json

star2478 commented Jul 1, 2015

我执行npm install -g fis时,报以下错误,请问是什么原因:
npm ERR! at Object.parse (native)
npm ERR! at RegClient. (/home/hlx/node/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:266:23)
npm ERR! at Request._callback (/home/hlx/node/lib/node_modules/npm/node_modules/npm-registry-client/lib/request.js:238:65)
npm ERR! at Request.self.callback (/home/hlx/node/lib/node_modules/npm/node_modules/request/request.js:123:22)
npm ERR! at Request.emit (events.js:98:17)
npm ERR! at Request. (/home/hlx/node/lib/node_modules/npm/node_modules/request/request.js:893:14)
npm ERR! at Request.emit (events.js:117:20)
npm ERR! at IncomingMessage. (/home/hlx/node/lib/node_modules/npm/node_modules/request/request.js:844:12)
npm ERR! at IncomingMessage.emit (events.js:117:20)
npm ERR! at _stream_readable.js:938:16
npm ERR! If you need help, you may report this entire log,
npm ERR! including the npm and node versions, at:
npm ERR! http://github.com/npm/npm/issues

npm ERR! System Linux 2.6.32-431.23.3.el6.x86_64
npm ERR! command "/home/hlx/node/bin/node" "/home/hlx/node/bin/npm" "install" "-g" "fis"
npm ERR! cwd /home/hlx
npm ERR! node -v v0.10.30
npm ERR! npm -v 1.4.21
npm ERR! type unexpected_eos
npm ERR! registry error parsing json

@dwqs

This comment has been minimized.

Show comment
Hide comment
@dwqs

dwqs Jul 17, 2015

2015-07-17 10 05 05

出现了上图的warning,是少了gyp吗? 怎么检测成功安装了fis?fis -v?

dwqs commented Jul 17, 2015

2015-07-17 10 05 05

出现了上图的warning,是少了gyp吗? 怎么检测成功安装了fis?fis -v?

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding
Contributor

xiangshouding commented Jul 17, 2015

@luckymore

This comment has been minimized.

Show comment
Hide comment
@luckymore

luckymore Jul 17, 2015

image
node是用pkg安装的

luckymore commented Jul 17, 2015

image
node是用pkg安装的

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Jul 17, 2015

Contributor

@luckymore sudo rm -rf ~/.npm 后重试 #565

Contributor

xiangshouding commented Jul 17, 2015

@luckymore sudo rm -rf ~/.npm 后重试 #565

@luckymore

This comment has been minimized.

Show comment
Hide comment
@luckymore

luckymore commented Jul 17, 2015

image

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Jul 17, 2015

Contributor
sudo chmod -R 777 /usr/local

装完以后再把权限改过来。

sudo chmod -R 755 /usr/local
Contributor

xiangshouding commented Jul 17, 2015

sudo chmod -R 777 /usr/local

装完以后再把权限改过来。

sudo chmod -R 755 /usr/local
@luckymore

This comment has been minimized.

Show comment
Hide comment
@luckymore

luckymore commented Jul 23, 2015

@xiangshouding 是这样的😄

@MrBackKom

This comment has been minimized.

Show comment
Hide comment
@MrBackKom

MrBackKom Sep 25, 2015

现在安装fis 过程太久了 淘宝的仓储 现在貌似也很久没更新过了吧
百度能不能自己弄个仓储 方便大家安装呢

MrBackKom commented Sep 25, 2015

现在安装fis 过程太久了 淘宝的仓储 现在貌似也很久没更新过了吧
百度能不能自己弄个仓储 方便大家安装呢

@mengch

This comment has been minimized.

Show comment
Hide comment
@mengch

mengch Oct 20, 2015

windows下npm install -g fis 安装后,运行fis命令,提示不是内部或外部命令,也不是可运行的程序 怎么办啊?

mengch commented Oct 20, 2015

windows下npm install -g fis 安装后,运行fis命令,提示不是内部或外部命令,也不是可运行的程序 怎么办啊?

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Oct 20, 2015

Contributor

@MrBackKom

image

如果发现没更新,点击 Sync 链接就更新了。

Contributor

xiangshouding commented Oct 20, 2015

@MrBackKom

image

如果发现没更新,点击 Sync 链接就更新了。

@xiangshouding

This comment has been minimized.

Show comment
Hide comment
@xiangshouding

xiangshouding Oct 20, 2015

Contributor

@mengch 请参考 #565

Contributor

xiangshouding commented Oct 20, 2015

@mengch 请参考 #565

@lzj500

This comment has been minimized.

Show comment
Hide comment
@lzj500

lzj500 Jun 25, 2016

安装完fis-postpackager-simple这个插件,执行fis release -op这个命令 总报[WARNI] missing config file [fis-conf.js]怎么解决呢?
答:先进入项目目录,再执行。

lzj500 commented Jun 25, 2016

安装完fis-postpackager-simple这个插件,执行fis release -op这个命令 总报[WARNI] missing config file [fis-conf.js]怎么解决呢?
答:先进入项目目录,再执行。

@Napoleonqinxiaofu

This comment has been minimized.

Show comment
Hide comment
@Napoleonqinxiaofu

Napoleonqinxiaofu Mar 25, 2017

hello,今天我在使用fis3的纯PHP后端的解决方案的DEMO的时候,发现有一个问题。我把这个DEMO的release目录写成我本地的wamp集成环境下www文件夹(本地网站的根目录)下的一个文件夹(FIS3Test)里,fis3的所有命令都正常,就是当我打开浏览器访问FIS3Test下的文件的时候出现了问题,因为fis3在使用frameworkimport的时候最终编译得到的文件src是指向网站根目录的,比如说:

import('static/css/tooplate_style.css');

编译之后会生成:

<link rel="stylesheet" type="text/css" href="/static/css/tooplate_style.css">

但是我的static文件夹是放在FIS3Test文件夹下的,这就有点儿尴尬了,请问除了将release目录改变成网站根目录之外有什么方法解决它不?(widget这个函数没有出现问题)

Napoleonqinxiaofu commented Mar 25, 2017

hello,今天我在使用fis3的纯PHP后端的解决方案的DEMO的时候,发现有一个问题。我把这个DEMO的release目录写成我本地的wamp集成环境下www文件夹(本地网站的根目录)下的一个文件夹(FIS3Test)里,fis3的所有命令都正常,就是当我打开浏览器访问FIS3Test下的文件的时候出现了问题,因为fis3在使用frameworkimport的时候最终编译得到的文件src是指向网站根目录的,比如说:

import('static/css/tooplate_style.css');

编译之后会生成:

<link rel="stylesheet" type="text/css" href="/static/css/tooplate_style.css">

但是我的static文件夹是放在FIS3Test文件夹下的,这就有点儿尴尬了,请问除了将release目录改变成网站根目录之外有什么方法解决它不?(widget这个函数没有出现问题)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment