应用程序在“compileCoffeescript"期间挂起 [英] Application hangs during 'compileCoffeescript'
问题描述
我有一个流星应用程序,它的行为非常奇怪.通常它会在启动和写入时挂起:
I've a meteor application which has a really weird behavior. Usually it hangs on startup and writing only:
sercan@home:~/meteor_work/***$ meteor
[[[[[ ~/meteor_work/mongoclient ]]]]]
=> Started proxy.
=> Started MongoDB.
Loading plugin 'compileCoffeescript' ... -
这里可能有什么问题?任何帮助将不胜感激.
What could be a problem here ? Any help would be appreciated.
ps.流星版本 1.2.1
提前致谢
更新:从版本文件中删除 coffeescript@1.0.11
行后,它通过了编译阶段,现在卡住了:
UPDATE: After I remove coffeescript@1.0.11
line from versions file it passed the compile phase and now stuck on:
Building for web.browser -
UPDATE2:我已经阅读了这个问题和决定在下面的 ecmascript 依赖项下注释掉:
UPDATE2: I've read this issue and decided to comment out below ecmascript dependency:
#ecmascript # Enable ECMAScript2015+ syntax in app code
然后就成功了!!!但是现在我当然无法使用 ECMAScript2015+ 等,反正我不需要它.但我需要一个非常简短的解释...
Then it worked !!! But now I'm unable to use ECMAScript2015+ etc of course, anyway I dont need it. But I need a really brief explanation about this...
推荐答案
我对遇到这些问题的建议:
My suggestions who confronts these issues:
尝试从您的版本文件中删除一些包(您的meteor构建卡在上面)如下:
Try to remove some packages (which your meteor build stuck on) as follows from your versions file:
- less@2.5.1
- coffeescript@1.0.11
如果它不起作用,请尝试从您的 packages 文件中注释掉以下行:
If it doesnt work try to comment out below line from your packages file:
#ecmascript # Enable ECMAScript2015+ syntax in app code
不要忘记这些文件包含在您的 .meteor
目录中,同样如果您使用的是 ECMAScript2015+
我不知道该怎么做,这个解决方案刚刚奏效对我来说.
Don't forget these files are included in your .meteor
directory, also if you are working with ECMAScript2015+
I have no idea what to do, this solution just worked for me.
这篇关于应用程序在“compileCoffeescript"期间挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!