-
Notifications
You must be signed in to change notification settings - Fork 281
Undefined error when using .get() #134
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
Comments
It looks like you may be using stacktrace.js without dependencies. I would recommend grabbing stacktrace.min.js from the Releases page unless you're getting stacktrace.js from bower or npm, in which case, please let us know. |
There was an issue using wiredep via gulp, in which it would not inject the bower script reference correctly. I do have many other bower libraries injecting fine so it is unlikely to be an issue with my setup. As a result, I had to manually include the stacktrace reference. Having looked in my bower_components, I have 2 bower files, '.bower.json' and 'bower.json', neither list dependencies. There is a component.json file as well which does list the dependencies, but it seems that bower has failed to resolve them. I'm not too sure how bower works so can't offer any conclusions other than that. Hope this is useful. |
Yeah, |
Wow, this is a rather glaring omission on our part. Very sorry about this, @dvdcxn. We'll get it fixed very soon. @oliversalzburg It looks like stacktrace-gps may have the same problem, and we may have to figure out how to handle the source-map dependency there since it's not registered in bower. |
@eriwen We can set a git URL as the dependency. That should work fine. I'll play around until I got something working :) I might have to delay my pending PRs though. I'm still at work, working hard to push out the new major release of our product :P |
+1 |
It seems the ErrorStackParser variable is undefined, throwing an error when required instead of generating a complete stacktrace when using the get method.
I'm not sure if the issue is my fault or not, some guidance would be appreciated.
Here's the..er..stacktrace of the error itself.
And here's my code block that the issue originates from.
The text was updated successfully, but these errors were encountered: