2017-02-15 5 views
0

繊維は104.20.23.46:443に話そうとしているようですが、私はインターネットに接続していないので失敗します。これを回避する方法はありますか?ノード・ファイバーをイントラネットにインストールするにはどうすればいいですか?

npm install node-fibers-1.0.5.tar.gz 

> [email protected] install /opt/wekan/bundle/programs/server/node_modules/fibers 
> node ./build.js 

(node:35623) DeprecationWarning: child_process: options.customFds option is deprecated. Use options.stdio instead. 
gyp WARN install got an error, rolling back install 
gyp ERR! configure error 
gyp ERR! stack Error: connect ETIMEDOUT 104.20.23.46:443 
gyp ERR! stack  at Object.exports._errnoException (util.js:1022:11) 
gyp ERR! stack  at exports._exceptionWithHostPort (util.js:1045:20) 
gyp ERR! stack  at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1087:14) 
gyp ERR! System Linux 3.10.0-229.el7.x86_64 
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" "--release" 
gyp ERR! cwd /opt/wekan/bundle/programs/server/node_modules/fibers 
gyp ERR! node -v v6.9.5 
gyp ERR! node-gyp -v v3.4.0 
gyp ERR! not ok 
Build failed 
npm WARN [email protected] No description 
npm WARN [email protected] No repository field. 
npm WARN [email protected] No license field. 
npm ERR! Linux 3.10.0-229.el7.x86_64 
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "node-fibers-1.0.5.tar.gz" 
npm ERR! node v6.9.5 
npm ERR! npm v3.10.10 
npm ERR! code ELIFECYCLE 

npm ERR! [email protected] install: `node ./build.js` 
npm ERR! Exit status 1 
npm ERR! 
npm ERR! Failed at the [email protected] install script 'node ./build.js'. 
npm ERR! Make sure you have the latest version of node.js and npm installed. 
npm ERR! If you do, this is most likely a problem with the fibers package, 
npm ERR! not with npm itself. 
npm ERR! Tell the author that this fails on your system: 
npm ERR!  node ./build.js 
npm ERR! You can get information on how to open an issue for this project with: 
npm ERR!  npm bugs fibers 
npm ERR! Or if that isn't available, you can get their info via: 
npm ERR!  npm owner ls fibers 
npm ERR! There is likely additional logging output above. 

npm ERR! Please include the following file with any support request: 
npm ERR!  /opt/wekan/bundle/programs/server/npm-debug.log 
+0

gzipped tarballの抽出を試したことがありますか?抽出の中から "npm install"を試しましたか? –

答えて

0

あなたは繊維が、それは完全なビルドをトリガし、何かをダウンロードする必要はありませんため、事前構築されたバイナリを提供プラットフォームのひとつである場合:

→ find . -name fibers.node 
./node_modules/fibers/bin/darwin-ia32-46/fibers.node 
./node_modules/fibers/bin/darwin-ia32-48/fibers.node 
./node_modules/fibers/bin/darwin-x64-46/fibers.node 
./node_modules/fibers/bin/darwin-x64-48/fibers.node 
./node_modules/fibers/bin/linux-ia32-46/fibers.node 
./node_modules/fibers/bin/linux-ia32-48/fibers.node 
./node_modules/fibers/bin/linux-x64-46/fibers.node 
./node_modules/fibers/bin/linux-x64-48/fibers.node 
./node_modules/fibers/bin/win32-ia32-46/fibers.node 
./node_modules/fibers/bin/win32-ia32-48/fibers.node 
./node_modules/fibers/bin/win32-x64-46/fibers.node 
./node_modules/fibers/bin/win32-x64-48/fibers.node 

46および48参照してください。

→ node -pe 'process.version' 
v6.9.5 
→ node -pe 'process.versions.modules' 
48 

:通常、メジャーリリース番号(すなわち4/6)のために同じままノードが保持内部モジュールのバージョン番号、
→ node -pe 'process.version' 
v4.7.0 
→ node -pe 'process.versions.modules' 
46 

あなたが適合するマシンを持っていないのであれば、おそらくインターネットにアクセスできる同等のマシンでコンパイルする必要があります。node_modules/fibersディレクトリを移動します。

関連する問題