vue-meteor icon indicating copy to clipboard operation
vue-meteor copied to clipboard

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

Open BrianMulhall opened this issue 5 years ago • 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 :) )

BrianMulhall avatar Apr 10 '20 17:04 BrianMulhall

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 avatar Apr 13 '20 17:04 lnufnu

@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

BrianMulhall avatar Apr 13 '20 18:04 BrianMulhall

I am having the same issue as @BrianMulhall

HuthDev avatar Apr 22 '20 19:04 HuthDev

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

MrSpark2591 avatar Dec 10 '20 09:12 MrSpark2591

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 avatar Apr 08 '21 14:04 iamparthaonline

A PR for this issue is raised by us in here - https://github.com/meteor-vue/vue-meteor/pull/422

iamparthaonline avatar Apr 19 '21 10:04 iamparthaonline