execjs icon indicating copy to clipboard operation
execjs copied to clipboard

Run JavaScript code from Ruby

Results 27 execjs issues
Sort by recently updated
recently updated
newest added

I used the rubyinstaller-devkit-2.6.6-1-x64 to install ruby on my laptop followed by installing bundler and running bundle update. I have also installed nodejs. However, I received an error after trying...

error : jekyll 3.5.2 | Error: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. please help me thx

(I thought a bit about how to correct this corner case without significant updates to the library, but didn't come up with anything that I could send over.) When using...

I'm trying to use duktape with Rails environment: - Rails 4.2.6 - ExecJS 2.7 - duktape 1.3.0.6 - autoprefixer-rails 6.0.3 After bundling gems I accessed the server and got `ExecJS::ProgramError...

Hello, I have had a recurring problem with ExecJS while trying launching my app. I'm running Ruby2.3.3 & Rails 5.1.4 on Windows 10. I have a "SyntaxError: Caractère incorrect" on...

Gem Load Error is: Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. Backtrace for gem load error is: C:/Users/pavankumar/.gems/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in `autodetect' C:/Users/pavankumar/.gems/gems/execjs-2.7.0/lib/execjs.rb:5:in `' C:/Users/pavankumar/.gems/gems/execjs-2.7.0/lib/execjs.rb:4:in `'

Hi, When there is a javascript code that contains String interpolation an error is raised. Given a piece of code such as this: ``` var a = 500 `${a}` ```...

I'm looking at an error thrown in a Rails application which uses v2.0.2 of execjs. I think it may be due to a potential race condition in [this method](https://github.com/rails/execjs/blob/v2.0.2/lib/execjs/external_runtime.rb#L137-L144), but...

``` irb(main):009:0> ExecJS.runtime => # irb(main):010:0> ExecJS.eval '1+2' => 3 irb(main):011:0> ExecJS.eval '1+2;' ExecJS::RuntimeError: Uncaught SyntaxError: Unexpected token ; at undefined:1:4 ``` I think ExecJS.eval should tolerate trailing semicolons. I...

I have observed that when using miniracer with our precompile assets process memory can run away big time. This is cause sprockets often bloats the heap and at the point...