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

Errors with no line numbers #70

Open
tlovett1 opened this issue Feb 5, 2017 · 5 comments
Open

Errors with no line numbers #70

tlovett1 opened this issue Feb 5, 2017 · 5 comments

Comments

@tlovett1
Copy link

tlovett1 commented Feb 5, 2017

I'm getting this in the console:

Error loading app [/Users/tlovett1/projects/alexa-app-server/examples/apps/airportinfo/index.js]: SyntaxError: Invalid or unexpected token

How can I find the line number?

@dblock
Copy link
Collaborator

dblock commented Feb 7, 2017

Ignore what I previously said, this is a bug. I haven't looked for a fix (yet).

@tejashah88
Copy link
Member

Is there a way to reproduce this bug?

@dblock
Copy link
Collaborator

dblock commented Mar 28, 2017

@tejashah88 Yes, make some kind of syntax error in the .js of an alexa app and run the server.

@ericblade
Copy link

You can run the skill on it's own (node index.js from the app dir) to diagnose. Still worthy of a fix if possible, IMO, good to see where the errors occur without having to go run the app on it's own.

@dblock
Copy link
Collaborator

dblock commented Mar 29, 2017

I'd love a PR please!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants