Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cordova Error: socket.io missing from bundle (when using akryum:vue-component) #396

Open
BrianMulhall opened this issue Apr 10, 2020 · 6 comments

Comments

@BrianMulhall
Copy link

I'm running meteor 1.8.1 (and i have also tried 1.10.1) using the akryum:vue-component package in my app. My app runs okay in a browser , but when i compile the app for android i get this error in the console over and over

MeteorWebApp: Asset /socket.io/ not found in bundle.

Another user also reported this error and his story is as follows

I created a new application using meteor create and then added the android platform. The error of socket.io missing from bundle started when I added akryum:vue-component from atmosphere.

Let me know if you need me to help track down the cause of this bug. I am familiar with the Meteor code base, but not with the packages that you have created (Although I do like using them :) )

@lnufnu
Copy link

lnufnu commented Apr 13, 2020

This may be related to cordova-plugin-meteor-webapp/issues/91. Cordova and the mobile plugins fail to load before socket.io in my project.

@BrianMulhall
Copy link
Author

@lnufnu thanks for the heads up, i'll try to dig around on this issue some more. I want to be able to use Vue and Cordova with Meteor so this needs to get fixed, I'll use the ticket you made to post any updates on my end

@HuthDev
Copy link

HuthDev commented Apr 22, 2020

I am having the same issue as @BrianMulhall

@MrSpark2591
Copy link

Any updates here. We are facing the same issue. Any possible solution?

@iamparthaonline
Copy link

We are facing same issue,
image
We have tried setting the HMR_URL in the environment variable, didn't work that as well.
Working with vue is troublesome in this case.

Meteor Version - [email protected]

Any updates guys?
@BrianMulhall @HuthDev @jbl2024 @filipenevola

@iamparthaonline
Copy link

A PR for this issue is raised by us in here - #422

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants