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 changes my package.json(rails app), I added type: "module" and then assets:precompile stoped working. ``` root@runner--project-0-concurrent-0:/builds/project-0# rake assets:precompile rake aborted! ExecJS::RuntimeError: node:internal/errors:465 ErrorCaptureStackTrace(err); ^ TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ""...

Hey guys, Something weird here. I'm getting the error below when trying to start the Docker container: `ExecJS::RuntimeUnavailable: Could not find a JavaScript runtime`. After some debugging, I found a...

I have a few environments I'm testing execjs's compile in combination with uglifier and have a strange problem that happens consistently in one environment but not elsewhere. I have minimized...

Hi Team, i am getting an error of ExecJS::RuntimeUnavailable while trying to run the rake assets:precompile in el7. I am using gem 'execjs', "~> 2.7.0" gem 'mini_racer', "~> 0.3.1" My...

As mentioned in https://github.com/rails/execjs/pull/98, the external runtimes fail because of some encoding issue. I'm really unsure to fix this, but might as well have this PR open for now. I'll...

As [suggested by Joshua Peek in a previous issue](https://github.com/rails/execjs/pull/43#r65826906). Node's vm module gives us full control over the globals passed to the context the code is run in. In order...

Hi, I created a mechanism to update json2.js from the upstream easily. because I am inspired from uglifier's one. https://github.com/lautis/uglifier/blob/master/CONTRIBUTING.md To deploy the upstream's json2.js to your package, you can...

Just like `ExecJS::ExternalRuntime::Context#call`, not using Duktape's `#call_prop` but simple `eval` will solve #45 . I don't know if there might be any side effects for this change, but it seems...

WIP - this is a request for feedback mostly and not finished. I encountered a need to interface with a library that adds meaningful properties to a JS Error object...

I found that when configuring to use NodeJS on windows binaries were not being located due to path containing spaces. Please accept this pull request which strips the whitespace from...