Meteor local server on mobile - Error: Error parsing asset manifest

放肆的年华 提交于 2019-12-11 01:37:57

问题


I have deployed a Meteor app on Heroku.

I have added a platform: Android

When I try I build the app using the meteor build command meteor build --directory ~/builds --server https://my-app.herokuapp.com and the install the apk using adb, I get an error.

I get the same error when trying to run app locally, but with different server: meteor run android-device --mobile-server https://my-app.herokuapp.com

The error is:

Error: Error parsing asset manifest(…)
(anonymous function) @ webapp.js?hash=2552b0d8c8f134d5763b6897c1be6c9bfa3e9c28:68
(anonymous function) @ webapp_local_server.js:37
cordova.callbackFromNative @ cordova.js:293
processMessage @ cordova.js:1081
processMessages @ cordova.js:1104
pollOnce @ cordova.js:973
pollOnceFromOnlineEvent @ cordova.js:960

It looks like the problem is connected to Meteor local server which runs on mobile.

Some discussion here: https://forums.meteor.com/t/meteor-local-server-on-mobile-error-error-parsing-asset-manifest/21215/7


回答1:


Thanks to Meteor Forum user, issue was found.

Fixed and created a pull request for the package: https://github.com/AdmitHub/meteor-buildpack-horse/pull/86



来源:https://stackoverflow.com/questions/36560587/meteor-local-server-on-mobile-error-error-parsing-asset-manifest

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!