当我将Meteor应用程序部署到meteor.com时,它会成功,但随后该站点会显示以下错误消息: 此站点已关闭。稍后再试。
--production
模式--debug
部署以下是完整的日志文件:
[Fri Jun 13 2014 15:31:29 GMT+0000 (UTC)] NOTICE Starting application on port 10767
[Fri Jun 13 2014 15:31:29 GMT+0000 (UTC)] INFO STATUS null -> starting
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] INFO STATUS starting -> running
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] WARNING /meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/boot.js:216
}).run();
^
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] WARNING Error: Cannot find module 'websocket-driver'
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> (/meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/npm/livedata/main/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:8:14)
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 Module.require (module.js:364:17)
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] INFO STATUS running -> starting
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] NOTICE Starting application on port 10767
[Fri Jun 13 2014 15:31:34 GMT+0000 (UTC)] INFO STATUS starting -> running
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] WARNING }).run();
^
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] WARNING /meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/boot.js:216
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] WARNING Error: Cannot find module 'websocket-driver'
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> (/meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/npm/livedata/main/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:8:14)
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 Module.require (module.js:364:17)
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] NOTICE Starting application on port 10767
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] INFO STATUS running -> starting
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] INFO STATUS starting -> running
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] WARNING /meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/boot.js:216
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] WARNING }).run();
^
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] WARNING Error: Cannot find module 'websocket-driver'
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> (/meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/npm/livedata/main/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:8:14)
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 Module.require (module.js:364:17)
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Fri Jun 13 2014 15:31:35 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Fri Jun 13 2014 15:31:48 GMT+0000 (UTC)] NOTICE Starting application on port 10767
[Fri Jun 13 2014 15:31:48 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Fri Jun 13 2014 15:31:48 GMT+0000 (UTC)] INFO STATUS starting -> running
[Fri Jun 13 2014 15:31:49 GMT+0000 (UTC)] WARNING /meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/boot.js:216
[Fri Jun 13 2014 15:31:49 GMT+0000 (UTC)] WARNING }).run();
^
[Fri Jun 13 2014 15:31:49 GMT+0000 (UTC)] WARNING Error: Cannot find module 'websocket-driver'
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> (/meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/npm/livedata/main/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:8:14)
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 Module.require (module.js:364:17)
[Fri Jun 13 2014 15:31:49 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Fri Jun 13 2014 15:31:49 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Fri Jun 13 2014 15:31:52 GMT+0000 (UTC)] INFO HIT / 82.245.42.131
[Fri Jun 13 2014 15:31:52 GMT+0000 (UTC)] INFO HIT /favicon.ico 82.245.42.131
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] NOTICE Starting application on port 10767
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] INFO STATUS starting -> running
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] WARNING }).run();
^
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] WARNING /meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/boot.js:216
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] WARNING Error: Cannot find module 'websocket-driver'
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> (/meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/npm/livedata/main/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:8:14)
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 Module.require (module.js:364:17)
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Fri Jun 13 2014 15:32:16 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Fri Jun 13 2014 15:32:36 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 82.245.42.131
[Fri Jun 13 2014 15:32:40 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 82.245.42.131
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] INFO STATUS waiting -> starting
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] NOTICE Starting application on port 10767
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] INFO STATUS starting -> running
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] WARNING /meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/boot.js:216
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] WARNING }).run();
^
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] WARNING Error: Cannot find module 'websocket-driver'
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> (/meteor/containers/83e8fbbc-3894-a4c1-2aae-42a599e5a110/bundle/programs/server/npm/livedata/main/node_modules/sockjs/node_modules/faye-websocket/lib/faye/websocket.js:8:14)
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 Module.require (module.js:364:17)
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] INFO STATUS running -> waiting
[Fri Jun 13 2014 15:33:11 GMT+0000 (UTC)] ERROR Application crashed with code: 8
[Fri Jun 13 2014 15:33:32 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 82.245.42.131
[Fri Jun 13 2014 15:33:36 GMT+0000 (UTC)] INFO HIT /_GALAXY_ 82.245.42.131
答案 0 :(得分:1)
在使用@ user3567351进行调查后,问题似乎是由于路径较长。 通过检查已部署的捆绑包中的差异,可能会忽略某些文件。
所以现在(直到问题得到解决),请尝试从较短的路径部署。