You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ExecJS can't find JavaScriptCore in macOS 10.15 (Catalina) #88
[execjs-catalina]$ gem install execjs
Successfully installed execjs-2.7.0
1 gem installed
[execjs-catalina]$ irb -rexecjs
Traceback (most recent call last):
...
/Users/makepeace/.rbenv/versions/2.7.0/lib/ruby/gems/2.7.0/gems/execjs-2.7.0/lib/execjs/runtimes.rb:58:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
[execjs-catalina]$ sw_vers -productVersion
10.15.4
$ ls -l /System/Library/Frameworks/JavaScriptCore.framework/Versions/Current
lrwxr-xr-x [...] /System/Library/Frameworks/JavaScriptCore.framework/Versions/Current -> A
Reacted by Julian Raschke, Peter, Erik Doernenburg, TJC, Josh Hawkins, tmac, Zizheng Wu, Ecco, Ilya Timofeev and Mike O'Sullivan
+1
After updating, my local server won't start. Rather than try to symlink jsc I have decided to install node.js and that's fine with me, but this certainly should be fixed.
macOS 10.15, same error from python module PyExecJS:
raise ValueError('Can not find the given interpreter: %r' % interpreter)
ValueError: Can not find the given interpreter:
'/System/Library/Frameworks/JavaScriptCore.framework/Versions/A/Resources/jsc'
Activity
macOS JSC lives in a new place since 10.15
stonefield commentedon Apr 20, 2020
+1
tedgarb commentedon May 24, 2020
+1
shantamg commentedon Jun 20, 2020
+1
After updating, my local server won't start. Rather than try to symlink jsc I have decided to install node.js and that's fine with me, but this certainly should be fixed.
jungbunzlav commentedon Jul 2, 2020
+1
zz5678 commentedon Jul 4, 2020
macOS 10.15, same error from python module PyExecJS:
byroot commentedon May 7, 2021
Fixed in #98