GithubHelp home page GithubHelp logo

Comments (7)

aleritty avatar aleritty commented on July 17, 2024 1

For me no, it isn't working correctly.

It seems to me (but I can be wrong) an incompatibility with latest versions of meteor (1.7.x) because of different babel versions.

Actually if I use the atmosphere package I get this error and the package just doesn't work, but if I use the npm package with include, I get a "syntax error" and after that everything doesn't work (obviously).

To reproduce you can just "meteor update" your demo application (i tried with the blaze one)

from meteor-video-chat.

elmarti avatar elmarti commented on July 17, 2024 1

I have reproduced it, there seems to be a strange issue with how the module loading works in 1.7, it appears to be compiling multiple async modules into a single file which are each declared with let, which is what is causing the problem. Going to see if I can fix, but there seems to be a greater issue with the module scoping in packages for this release meteor/meteor#10234

from meteor-video-chat.

elmarti avatar elmarti commented on July 17, 2024 1

@jamalCoder I've just posted a fix [email protected], it's definitely related to the bundling

from meteor-video-chat.

elmarti avatar elmarti commented on July 17, 2024

OK, I am able to reproduce this. I believe that this is due the the dependency injection pattern in which Meteor is indirectly referenced. (

this.meteor = meteor;
)

Is it working OK besides the error message? I'll have to look into why it's started logging that error, rather than trying to fix around it.

from meteor-video-chat.

elmarti avatar elmarti commented on July 17, 2024

I've opened an issue on the Meteor repo meteor/meteor#10234

from meteor-video-chat.

binlux avatar binlux commented on July 17, 2024

Is it working OK besides the error message?

when installing the package(just installing without using it) my app works in dev mode but in production mode it fails

just i want you to know that the last compatible version of (@babel/runtime) with meteor 1.7.0.x is 7.0.0-beta.55 maybe it's a babel issue as @aleritty says...but you can try the beta of meteor 1.7.1 it's compatible with tha last version of (@babel/runtime) and check if it's working

from meteor-video-chat.

elmarti avatar elmarti commented on July 17, 2024

This has now been confirmed as a Meteor core bundling bug that will be fixed in 1.8. This package should still work with this fix and will stay the same unless any unseen issues arise

from meteor-video-chat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.