Skip to content

ExecJS::ProgramError: TypeError: Cannot set property 'root' of null #69

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

Closed
alpracka opened this issue Feb 4, 2015 · 3 comments
Closed

Comments

@alpracka
Copy link

alpracka commented Feb 4, 2015

I'm getting this error when deploying and assets are being precompiled.

[bf4ff2dc]  ExecJS::ProgramError: TypeError: Cannot set property 'root' of null
DEBUG [bf4ff2dc]      (in /home/user/app/shared/bundle/ruby/2.1.0/gems/chosen-rails-1.3.0/vendor/assets/javascripts/lib/select-parser.coffee)
chosen-rails 1.3.0
rails 4.2.0
sass 3.4.11
coffee-script 2.3.0

The 1.2.0 runs ok.

@itmammoth
Copy link

I guess that's the same problem as jashkenas/coffeescript#3829
Not chosen's matter, methink.

@cowholio4
Copy link

Confirmed that it's not chosen's problem.

Fixed by upgrading nodejs.

node --version
v0.12.2

@alpracka
Copy link
Author

alpracka commented Apr 3, 2015

I've removed therubyracer gem from the production group (my assets were compiling at production env) and I've installed nodejs. Problem solved.

@alpracka alpracka closed this as completed Apr 3, 2015
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