Skip to content
This repository has been archived by the owner on Jun 10, 2018. It is now read-only.

Runtime Error with Rails #195

Open
mattymess opened this issue Nov 12, 2015 · 2 comments
Open

Runtime Error with Rails #195

mattymess opened this issue Nov 12, 2015 · 2 comments

Comments

@mattymess
Copy link

This is a new computer and I don't experience this error on my old machine. Trying to hit a page in my app and getting the following runtime error.

I have node installed.

ExecJS::RuntimeError - 
  (in /Users/mattmessinger/Work/fanbread/repos/toaster/vendor/assets/bower_components/angular-ui-bootstrap-bower/ui-bootstrap-tpls.js):
  execjs (2.5.0) lib/execjs/external_runtime.rb:226:in `exec_runtime_error'
  execjs (2.5.0) lib/execjs/external_runtime.rb:214:in `exec_runtime'
  execjs (2.5.0) lib/execjs/external_runtime.rb:39:in `exec'
  execjs (2.5.0) lib/execjs/external_runtime.rb:21:in `eval'
  execjs (2.5.0) lib/execjs/external_runtime.rb:46:in `call'
@akshaymohite
Copy link

I got similar issue while using react-rails gem

 react-rails (1.4.2)
      babel-transpiler (>= 0.7.0)
      coffee-script-source (~> 1.8)
      connection_pool
      execjs
      rails (>= 3.2)
      tilt

Error on rails s:

.
.
Error compiling asset application.js:
ExecJS::RuntimeError: SyntaxError: Invalid unicode escape in identifier: '\ufeff'
(in /Users/username/workspace/project/app/assets/javascripts/components/MyComponent.jsx)

@ynagorny
Copy link

I'm getting the same error on a new computer too. Have you been able to find out what's causing it?

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

No branches or pull requests

3 participants