我已将Telescope站点部署到我的暂存 DigitalOcean droplet。该站点在我的本地计算机上运行良好,但是当我尝试提取已部署的副本时,我在开发工具中遇到了几个错误。
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
页面的内容永远不会加载。似乎有些包丢失了,但它抱怨的包在包文件中列出。
不知道该转向哪里。正如我所说,我正在部署到 DigitalOcean 液滴。我使用meteor-up进行部署。部署成功完成,没有任何错误。我也尝试过部署到Modulus。该部署也没有错误地完成,但也出现了同样的问题。