2017-04-06 159 views
0

嘗試運行meteor時收到以下錯誤npm install --save babel-runtime。感謝任何建議。meteor npm install --save babel運行時錯誤

流星NPM安裝--save巴別塔的運行時 module.js:327 扔走錯了路。 ^

Error: Cannot find module '../lib/utils/unsupported.js' 
at Function.Module._resolveFilename (module.js:325:15) 
at Function.Module._load (module.js:276:25) 
at Module.require (module.js:353:17) 
at require (internal/module.js:12:17) 
at /Users/t3/.meteor/packages/meteor-tool/.1.4.3_2.1bvf0xf++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm:19:21 
at Object.<anonymous> (/Users/t3/.meteor/packages/meteor-tool/.1.4.3_2.1bvf0xf++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm:79:3) 
at Module._compile (module.js:409:26) 
at Object.Module._extensions..js (module.js:416:10) 
at Module.load (module.js:343:32) 
at Function.Module._load (module.js:300:12) 

回答

0

看起來你正在使用節點的錯誤/不同的/不兼容的版本。嘗試切換到4.*分支NVM https://github.com/creationix/nvm

然後安裝NVM後,運行像

nvm install 4.8.2 
nvm use 4.8.2 

然後嘗試再次故宮安裝