首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >更新到meteor 1.3.4.4时出错

更新到meteor 1.3.4.4时出错
EN

Stack Overflow用户
提问于 2016-07-19 09:41:48
回答 1查看 199关注 0票数 0

Meteor被指示从1.3.4.3更新到1.3.4.4,在我更新之后,我得到了以下错误。

不知道现在该怎么做,有什么想法吗?谢谢

代码语言:javascript
复制
$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
EN

回答 1

Stack Overflow用户

发布于 2016-07-19 11:24:54

这可能与从Meteor1.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的用户使用fourseven:scss的3.4.2版本

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

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/38448311

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档