meteor-vue/vue-meteor

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

BrianMulhall opened this issue · 6 comments

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 :) )

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.

@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

I am having the same issue as @BrianMulhall

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

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 - METEOR@1.11.1

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

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