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

Uncaught SyntaxError: Unexpected token '*' L5546 #37

Open
smohantyCME opened this issue Jan 22, 2020 · 1 comment
Open

Uncaught SyntaxError: Unexpected token '*' L5546 #37

smohantyCME opened this issue Jan 22, 2020 · 1 comment

Comments

@smohantyCME
Copy link

smohantyCME commented Jan 22, 2020

Hi! When importing this package into an application, I get a JS console error in the browser. The package works just fine in the CLI for my actual unit tests, but I get an error in the console which prevents me from viewing my test results in the browser. It also shows the error when I just run my app regularly (not in test mode).

Upon inspecting the error, it looks like there's a syntax error for the last function of the file.

function get(object, pathI
 * //tOg.get(object, [gglobal;

/*ues.
 0].b.c(

Looks like the whole get function was intended to be commented out. Can we please get that removed so that we can reinstall the package and not get the error. Thanks!

@coagmano
Copy link
Contributor

Hey, in case you don't see my reply on the forums, this doesn't look like a bug for this package, but I'll be happy to help debug further over on the forums:
https://forums.meteor.com/t/how-to-edit-meteor-package-source-files/51532/3?u=coagmano

(Also as a reference for hwillson, so he can see the context as well)

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

2 participants