我已将Telescope网站部署到my staging DigitalOcean droplet。该网站在我的本地计算机上运行良好,但当我尝试提取已部署的副本时,我在Dev Tools中收到了一些错误。
fast-route data found, but no collection exists for: settings a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:14
Uncaught ReferenceError: isAdminById is not defined a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:20
Exception in defer callback: ReferenceError: Spacebars is not defined
at null._render (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:13:1470)
at null.<anonymous> (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:10:26626)
at http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:10:25734
at Object.e._withCurrentView (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:10:28753)
at http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:10:25692
at e.Computation._compute (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:5:16650)
at new e.Computation (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:5:15913)
at Object.e.autorun (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:5:17886)
at e.View.autorun (http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:10:25663)
at http://staging.news.powerupgames.io/a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:10:26565 a66f3d03fa0387126449a4d3022ea653e4a8d4b4.js:1
Uncaught TypeError: Cannot read property 'isAdmin' of undefined
页面内容永远不会加载。似乎有些软件包丢失了,但它所抱怨的软件包列在packages file中。
不确定从哪里开始。正如我所说,我正在部署到DigitalOcean Droplet。我使用meteor-up进行部署。部署成功完成,没有任何错误。我也尝试过部署到Modulus。该部署也完成但没有错误,但exhibits the same problems。