meteor-vue / vue-meteor

🌠 Vue first-class integration in Meteor
897 stars 112 forks source link

Error due to update in meteor-node-stubs #307

Closed MKRazz closed 6 years ago

MKRazz commented 6 years ago

meteor-node-stubs was just updated replacing http-browserify with stream-http (https://github.com/meteor/node-stubs/commit/488059954d67e397432dea3b6dbe7696ee82939e)

This update is causing a client error in vue-component-dev-client due to this:

https://github.com/meteor-vue/vue-meteor/blob/41228c434e96766f8ff2bc4b9e6b02a8546116a8/packages/vue-component-dev-client/client/dev-client.js#L8-L9

DirkStevens commented 6 years ago

I have the same problem...

@MKRazz did you find a work-around?

MKRazz commented 6 years ago

@DirkStevens Yep, meteor-node-stubs gets added to your project's dependencies, so change the version from ^0.3.2 to 0.3.2 then run meteor npm i. Obviously not the best solution, but it should work in the meantime.

DirkStevens commented 6 years ago

@MKRazz Thanks so much. that works!

mitar commented 6 years ago

See: https://github.com/meteor-vue/vue-meteor/pull/311

mitar commented 6 years ago

With what was this fixed? I cannot fix a code reference?

Akryum commented 6 years ago

The code was removed as it seems it was an issue between socket.io and http-browserify.