は私がやったことです:
sudo npm install -g nvm
npm WARN deprecated [email protected]: This is NOT the correct nvm. Visit http://nvm.sh and use the curl command to install it.
は、その後、私はこれで上のNVMを置く:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.30.1/install.sh | bash
NPMは、このような警告を与えた:
=> You currently have modules installed globally with `npm`. These will no
=> longer be linked to the active version of Node when you install a new node
=> with `nvm`; and they may (depending on how you construct your `$PATH`)
=> override the binaries of modules installed with `nvm`:
/usr/local/lib
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
├── [email protected]
└── [email protected]
=> If you wish to uninstall them at a later point (or re-install them under your
=> `nvm` Nodes), you can remove them from the system Node as follows:
$ nvm use system
$ npm uninstall -g a_module
だから私はをやった。今、ノードのシステムバージョン使用して :
をv4.2.4(NPMのv2.14.12)が行って、すべてをアンインストール:
sh-3.2# npm uninstall -g bower
unbuild [email protected]
sh-3.2# npm uninstall -g cordova
unbuild [email protected]
sh-3.2# npm uninstall -g ember-cli
unbuild [email protected]
sh-3.2# npm uninstall -g fibers
unbuild [email protected]
sh-3.2# npm uninstall -g grunt-cli
unbuild [email protected]
sh-3.2# npm uninstall -g gulp
unbuild [email protected]
sh-3.2# npm uninstall -g ionic
unbuild [email protected]
sh-3.2# npm uninstall -g ios-deploy
unbuild [email protected]
sh-3.2# npm uninstall -g ios-sim
unbuild [email protected]
sh-3.2# npm uninstall -g lite-server
unbuild [email protected]
sh-3.2# npm uninstall -g nvm
unbuild [email protected]
sh-3.2#
Downgraded to node 0.10.36:
nvm install 0.10.36
今多分私はそれを実行することができます。だから私は、全体のappフォルダを削除し、これを再作成します。
hotel:Sites tom$ meteor create --example localmarket
Created a new Meteor app in 'localmarket'.
あなたの新しいアプリを実行するには:
cd localmarket
meteor
あなたは流星に新しいしている場合は、ここでの学習リソースのいくつかを試してみてください:https://www.meteor.com/learn
hotel:Sites tom$ cd localmarket/
hotel:localmarket tom$ meteor
[[[[[ ~/Dropbox/Sites/localmarket ]]]]]
=> Started proxy.
=> Started MongoDB.
W20160118-22:04:11.145(13)? (STDERR)
W20160118-22:04:11.146(13)? (STDERR) module.js:340
W20160118-22:04:11.147(13)? (STDERR) throw err;
W20160118-22:04:11.148(13)? (STDERR) ^
W20160118-22:04:11.148(13)? (STDERR) Error: Cannot find module 'fibers'
W20160118-22:04:11.148(13)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160118-22:04:11.148(13)? (STDERR) at Function.Module._load (module.js:280:25)
W20160118-22:04:11.148(13)? (STDERR) at Module.require (module.js:364:17)
W20160118-22:04:11.149(13)? (STDERR) at require (module.js:380:17)
W20160118-22:04:11.149(13)? (STDERR) at Object.<anonymous> (/Users/tom/Dropbox/Sites/localmarket/.meteor/local/build/programs/server/boot.js:1:75)
W20160118-22:04:11.149(13)? (STDERR) at Module._compile (module.js:456:26)
W20160118-22:04:11.149(13)? (STDERR) at Object.Module._extensions..js (module.js:474:10)
W20160118-22:04:11.149(13)? (STDERR) at Module.load (module.js:356:32)
W20160118-22:04:11.149(13)? (STDERR) at Function.Module._load (module.js:312:12)
W20160118-22:04:11.150(13)? (STDERR) at Module.require (module.js:364:17)
=> Exited with code: 8
W20160118-22:04:21.515(13)? (STDERR)
W20160118-22:04:21.516(13)? (STDERR) module.js:340
W20160118-22:04:21.516(13)? (STDERR) throw err;
W20160118-22:04:21.516(13)? (STDERR) ^
W20160118-22:04:21.516(13)? (STDERR) Error: Cannot find module 'fibers'
W20160118-22:04:21.516(13)? (STDERR) at Function.Module._resolveFilename (module.js:338:15)
W20160118-22:04:21.517(13)? (STDERR) at Function.Module._load (module.js:280:25)
W20160118-22:04:21.517(13)? (STDERR) at Module.require (module.js:364:17)
W20160118-22:04:21.517(13)? (STDERR) at require (module.js:380:17)
W20160118-22:04:21.517(13)? (STDERR) at Object.<anonymous> (/Users/tom/Dropbox/Sites/localmarket/.meteor/local/build/programs/server/boot.js:1:75)
W20160118-22:04:21.517(13)? (STDERR) at Module._compile (module.js:456:26)
W20160118-22:04:21.519(13)? (STDERR) at Object.Module._extensions..js (module.js:474:10)
W20160118-22:04:21.519(13)? (STDERR) at Module.load (module.js:356:32)
W20160118-22:04:21.519(13)? (STDERR) at Function.Module._load (module.js:312:12)
W20160118-22:04:21.519(13)? (STDERR) at Module.require (module.js:364:17)
ah dang ok that does not work。
なぜあなたはこれをやっていますか?それをバンドルするには 'meteor bundle mydeploy.zip'を使用してください。 –
試してください 'npm install -g fibers' – gabrielhpugliese
これらのステップは流星束を使用した後です。私はインストール/アンインストールのファイバーを使用しています。それは私が他のservers.npm -gにファイバーをインストールしているのと同じエラーです。 –