错误更新到流星1.3.4.4

时间:2016-07-19 01:41:48

标签: meteor

Meteor指示将流星更新从1.3.4.3更新到1.3.4.4,在我这样做之后,我收到了以下错误。
不知道在这一点上做什么,有什么想法吗?感谢

$meteor update
  => Errors
while initializing project:

  While loading package fourseven: scss@ 3.3.3_3:
  error: Command failed:
  module.js: 340
throw err; ^
Error: Cannot find module '../'
at Function.Module._resolveFilename(module.js: 338: 15)
at Function.Module._load(module.js: 280: 25)
at Module.require(module.js: 364: 17)
at require(module.js: 380: 17)
at Object. < anonymous >
  (/Users/empl1 / .meteor / packages / fourseven_scss / .3.3.3_3.ecnkm4++os.osx.x86_64 + web.browser + web.cordova / plugin.compileScssBatch.os.osx.x86_64 / npm / node_modules / meteor / compileScssBatch / compileScssBatch / node_modules / .temp - 1dptekz / node_modules / node - sass / node_modules / cross - spawn / node_modules / spawn - sync / node_modules /
    try -thread - sleep / node_modules / thread - sleep / node_modules / .bin / node - pre - gyp: 15: 20)
at Module._compile(module.js: 456: 26)
at Object.Module._extensions..js(module.js: 474: 10)
at Module.load(module.js: 356: 32)
at Function.Module._load(module.js: 312: 12)
at Function.Module.runMain(module.js: 497: 10)

npm ERR!Darwin 15.5.0
npm ERR!argv "node"
"/Users/empl1/.meteor/packages/meteor-tool/.1.3.5_1.hzx8lp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm"
"rebuild"
"--no-bin-links"
"--update-binary"
npm ERR!node v0.10.46
npm ERR!npm v3.10.5
npm ERR!code ELIFECYCLE
npm ERR!thread - sleep@ 1.0.4 install: `node-pre-gyp install
--fallback-to-build`
npm ERR!Exit status 8
npm ERR!
  npm ERR!Failed at the thread - sleep@ 1.0.4 install script 'node-pre-gyp
install --fallback-to-build'.
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
thread - sleep package,
  npm ERR!not with npm itself.
npm ERR!Tell the author that this fails on your system:
  npm ERR!node - pre - gyp install--fallback - to - build
npm ERR!You can get information on how to open an issue
for this
project with:
  npm ERR!npm bugs thread - sleep
npm ERR!Or
if that isn 't available, you can get their info via:
npm ERR!     npm owner ls thread-sleep
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!
/Users/empl1/.meteor/packages/fourseven_scss/.3.3.3_3.ecnkm4++os.osx.x86_64+web.browser+web.cordova/plugin.compileScssBatch.os.osx.x86_64/npm/node_modules/meteor/compileScssBatch/compileScssBatch/node_modules/.temp-1dptekz/npm-debug.log

module.js:340
throw err;
^
Error: Cannot find module '.. / '
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at Object.<anonymous>
(/Users/empl1/.meteor/packages/fourseven_scss/.3.3.3_3.ecnkm4++os.osx.x86_64+web.browser+web.cordova/plugin.compileScssBatch.os.osx.x86_64/npm/node_modules/meteor/compileScssBatch/compileScssBatch/node_modules/.temp-1dptekz/node_modules/node-sass/node_modules/cross-spawn/node_modules/spawn-sync/node_modules/try-thread-sleep/node_modules/thread-sleep/node_modules/.bin/node-pre-gyp:15:20)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)

npm ERR! Darwin 15.5.0
npm ERR! argv "node"
"/Users/empl1/.meteor/packages/meteor-tool/.1.3.5_1.hzx8lp++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/bin/npm"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v0.10.46
npm ERR! npm  v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! thread-sleep@1.0.4 install: `node-pre-gyp install
--fallback-to-build`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the thread-sleep@1.0.4 install script '
node - pre - gyp
install--fallback - to - build '.
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
thread-sleep package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this
project with:
npm ERR!     npm bugs thread-sleep
npm ERR! Or if that isn'
t available, you can get their info via:
  npm ERR!npm owner ls thread - sleep
npm ERR!There is likely additional logging output above.

npm ERR!Please include the following file with any support request:
  npm ERR!
  /Users/empl1 / .meteor / packages / fourseven_scss / .3.3.3_3.ecnkm4++os.osx.x86_64 + web.browser + web.cordova / plugin.compileScssBatch.os.osx.x86_64 / npm / node_modules / meteor / compileScssBatch / compileScssBatch / node_modules / .temp - 1dptekz / npm - debug.log

1 个答案:

答案 0 :(得分:0)

这可能与从较小版本的Meteor 1.2到1.3 +的魔法有关。

警告与此程序包有关:meteor-scss

在其文档中,它建议对1.3+版本执行以下操作。

meteor remove standard-minifier-css meteor add seba:minifiers-autoprefixer

如果确实如此,它还会谈到锁定特定Meteor版本的版本

  

注意:由于Meteor 1.3.0-1.3.1和Meteor 1.3.2+之间的相同变化,建议Meteor 1.3.0或1.3.1的用户使用fourse的3.4.2版本:scss

您可以在./meteor/versions文件夹中执行此操作。