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

Syntax error script type="text/coffeescript" does not tell in which file #2368

Closed
nh2 opened this issue Jun 3, 2012 · 2 comments
Closed

Comments

@nh2
Copy link

nh2 commented Jun 3, 2012

Hi,

I use coffee-script.js and includes like <script type="text/coffeescript" src="js/my.coffee"></script> for development.

For some reason, if I have a syntax error in a file, I just get Uncaught Error: Parse error on line 75: Unexpected 'COMPARE' with a stack trace showing only line numbers of coffee-script.js - it does not tell me in which file the error is!

This happens in both Chromium and Firefox + Firebug.

Has this always been like this?
Why cannot it tell me in what file the error is?

@1j01
Copy link

1j01 commented Jun 24, 2016

This is still a problem in 2016. I don't even get line numbers, just e.g. SyntaxError: unexpected (

(Edit: for a missing comma where no parenthesis are present)

@GeoffreyBooth
Copy link
Collaborator

This should have been fixed in #4428. Please comment if that isn’t the case and I will reopen.

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

3 participants