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

No line number and file name of compile errors #50

Open
JohnMerlino1 opened this issue Aug 1, 2016 · 3 comments
Open

No line number and file name of compile errors #50

JohnMerlino1 opened this issue Aug 1, 2016 · 3 comments

Comments

@JohnMerlino1
Copy link

When I try to precompile assets for production:

bundle exec rake assets:precompile RAILS_ENV=production
I get the following error:

ExecJS::ProgramError: RangeError: Maximum call stack size exceeded
(in /myapp/app/assets/javascripts/application.js)

This error is useless. It will be like finding a needle in a haystack. My application.js is simply one line which requires a bunch of other javascript:

 //= require_tree .

I need to know which file the infinite recursion occurs at and specifically what line number. Otherwise I can spend 2 months searching for this error. Surely, I am not the only person with this need. What kind I do in this situation?

@ignisf
Copy link

ignisf commented Aug 1, 2016

What execjs runtime are you using?

@JohnMerlino1
Copy link
Author

I have the following: execjs (2.6.0, 2.5.2, 2.2.1, 2.0.2)

@ignisf
Copy link

ignisf commented Aug 3, 2016

I meant which of those runtimes (from README):

ExecJS supports these runtimes:

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