2015-04-21 226 views
0

我已將所有軟件包和流星更新爲最新版本,無法部署到* .meteor.com或自定義域。一切運行良好,我的本地沒有錯誤。我沒有明確使用科爾多瓦。下面是錯誤:流星1.1.0.2無法部署

$ meteor deploy site.com 
Deploying to site.com.      

~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:245 
throw(ex); 
^ 
Error: Unexpected token: eof (undefined) (line: 71, col: 0, pos: 1182042) 
at Object.Future.wait (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:395:16) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:556:31 
at Array.forEach (native) 
at Function._.each._.forEach (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:554:9 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:352:18 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:345:34 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:343:23 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at enterJob (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:317:26) 
at Object.forkJoin (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:531:3) 
at [object Object]._.extend.minifyJs (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:818:28) 
at [object Object]._.extend.make (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:509:12) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:2054:14 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:2099:20 
at Array.forEach (native) 
at Function._.each._.forEach (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:2098:7 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:264:13 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:257:29 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:255:18 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:246:23 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at Object.capture (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:245:19) 
at Object.exports.bundle (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:2040:31) 
at Object.bundleAndDeploy (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/deploy.js:405:32) 
at Command.main.registerCommand.name [as func] (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/commands.js:1168:29) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/main.js:1363:23 
- - - - - 
at Object.Future.wait (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:395:16) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:556:31 
at Array.forEach (native) 
at Function._.each._.forEach (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:554:9 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:352:18 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:345:34 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:343:23 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at enterJob (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:317:26) 
at Object.forkJoin (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:531:3) 
at _minify (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:931:18) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:820:16 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:537:23 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:352:18 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:345:34 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:343:23 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at enterJob (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:317:26) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:536:24 
at runWithEnvironment (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:139:21) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:146:14 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:549:11 
- - - - - 

Error 
at new JS_Parse_Error (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:196:18) 
at js_error (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:204:11) 
at croak (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:674:9) 
at token_error (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:682:9) 
at unexpected (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:688:9) 
at block_ (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:1000:28) 
at ctor.body (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:974:25) 
at function_ (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:979:15) 
at expr_atom (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:1187:24) 
at maybe_unary (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/isopackets/minifiers/npm/minifiers/node_modules/uglify-js/lib/parse.js:1357:19) 
at Object.Future.get (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:196:86) 
at Object.Future.wait (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/fibers/future.js:395:16) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:556:31 
at Array.forEach (native) 
at Function._.each._.forEach (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/dev_bundle/lib/node_modules/underscore/underscore.js:79:11) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:554:9 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:352:18 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:345:34 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:343:23 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at enterJob (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:317:26) 
at Object.forkJoin (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:531:3) 
at _minify (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:931:18) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/bundler.js:820:16 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:537:23 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:352:18 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:345:34 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:343:23 
at [object Object]._.extend.withValue (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:115:14) 
at enterJob (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:317:26) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:536:24 
at runWithEnvironment (~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:139:21) 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/fiber-helpers.js:146:14 
at ~/.meteor/packages/meteor-tool/.1.1.3.1rs2u00++os.osx.x86_64+web.browser+web.cordova/mt-os.osx.x86_64/tools/buildmessage.js:549:11 
+0

您的應用程序名稱實際上並不是'site.com'? –

回答

1

似乎我使用的一個軟件包在本地運行良好,但阻止了部署和捆綁。 (在這種情況下,sahina:flatui

+0

你是怎麼修復它的?我也遇到了同樣的問題,也使用了flatui。 – Russj

+0

刪除flatui包,只是把我的項目中的css文件 –

+0

請參閱:https://github.com/alisalaah/praycalc.com –

1

我剛剛將流星版本從1.1.0.2降級到1.0.3.2。然後它工作。我沒有刪除flatui。只需使用

meteor update --release [email protected] 
+0

我需要的一切都是在來自他們的github的flatui.css文件,所以我最好刪除軟件包並使用它。理想情況下,應該由保持最新的人員製作新的軟件包。 –