Comments (6)
I am seeing this error on a mac mini with 16GB ram (with over 8GB ram free) (so using the Apple JavaScriptCore).
I just updated our app from rails 5.0.1 to 5.0.3. This error does not occur on our staging environment (also a mac mini, but with "only" 8gb ram).
from execjs.
It seems to be a problem in your application. Which javascript runtime are you using?
from execjs.
This sounds similar to the recent error I have after the coffee-script-source 1.12.1 gem was released:
from execjs.
Sorry, but I've also problem with node. When I get Segmentation Fault when I trying to get node version (node -v). Yesterday I changed my debian into ubuntu server and problem solved :)
from execjs.
I was seeing the issue on an underpowered host when the process was killed for lack of RAM. This didn't become clear until I disabled Uglify after which I could see the Killed
messaging in the logs.
from execjs.
It might be that your usage of a small RAM vps is actually causing the error. Like mine, which was 512MB. You can restart your production server and precompile the assets or , better, upgrade your vps to a higher RAM, eg 1GB or more depending on your needs.
More here: sstephenson#201
from execjs.
Related Issues (20)
- Version 2.8.0 may require ES6 syntax HOT 2
- v2.8.0 changelog? HOT 4
- Rails 4.2 + v2.8.1 == TypeError: Cannot read property 'version' of undefined HOT 1
- ExecJS::RuntimeUnavailable in el7
- 2.8.1: ExecJS.compile consistently exits 1 in one environment and 0 elsewhere. HOT 4
- Can't use runtime because `File.executable?` returns false HOT 5
- What is better? V8 or node.js? HOT 1
- An example in the README doesn't work HOT 1
- Setup bun.sh runtime HOT 3
- Popen的encoding参数要改成utf8才能正常运行,但我不想修改subprocess.py的源码,有什么方式可以解决吗 HOT 1
- bun.sh as runtime HOT 4
- How to debug ExecJS::RuntimeError: SyntaxError: Invalid or unexpected token HOT 1
- Syntax error with new HEREDOC syntax HOT 3
- required_ruby_version is incorrect HOT 1
- Bun runtime fails if there's an `.env` file in the working directory HOT 2
- Changelog HOT 2
- `rails server` fails using Dockerfile generated by `rails new`, bun and execjs HOT 1
- Can't call a function with "NaN" input when using MiniRacer HOT 2
- External runtimes broken on Ruby 3.0 HOT 6
- Version 2.8.0 raises ExecJS::ProgramError: TypeError: Cannot read property 'version' of undefined HOT 44
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from execjs.