-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
I just followed the instruction written in PR template of https://github.com/tc39/ecma262, but it seems it's outdated.
> jsvu
📦 jsvu v2.4.0 — the JavaScript engine Version Updater 📦
? What is your operating system? macOS M1 64-bit
? Which JavaScript engines would you like to install? (Press <space> to select, <a> to toggle all, <i> to invert selection)Chakra/ChakraCore, GraalJS, Hermes, JavaScriptCore, QuickJS, Spide
rMonkey, V8, XS
❯ Finding the latest Chakra version…
✖ RequestError: getaddrinfo ENOTFOUND chakratestx.file.core.windows.net
✔ Found latest GraalJS version: val-24.0.2.
❯ Predicting URL…
✖ Error: GraalJS does not offer precompiled mac64arm binaries.
✔ Found latest Hermes version: v0.11.0.
✔ URL: https://github.com/facebook/hermes/releases/download/v0.11.0/hermes-cli-darwin-v0.11.0.tar.gz
✔ Download completed.
❯ Extracting…
Installing binary to ~/.jsvu/engines/hermes/hermes…
Installing symlink at ~/.jsvu/bin/hermes pointing to ~/.jsvu/engines/hermes/hermes…
Installing binary to ~/.jsvu/engines/hermes/hermes-compiler…
Installing symlink at ~/.jsvu/bin/hermes-compiler pointing to ~/.jsvu/engines/hermes/hermes-compiler…
✔ Extraction completed.
✔ Testing completed.
✔ Hermes v0.11.0 has been installed! 🎉
✔ Found latest JavaScriptCore version: v283330.
✔ URL: https://s3-us-west-2.amazonaws.com/minified-archives.webkit.org/mac-sonoma-x86_64%20arm64-release/[email protected]
✔ Download completed.
❯ Extracting…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/Headers…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/Helpers…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/JavaScriptCore…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/JavaScriptCore.tbd…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/Modules…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/PrivateHeaders…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/Resources…
Installing library to ~/.jsvu/engines/javascriptcore/JavaScriptCore.framework/Versions…
Installing binary to ~/.jsvu/engines/javascriptcore/javascriptcore…
Installing wrapper script to ~/.jsvu/bin/javascriptcore…
✔ Extraction completed.
✔ Testing completed.
✔ JavaScriptCore v283330 has been installed! 🎉
✔ Found latest QuickJS version: v0.5.0.
✔ URL: https://github.com/quickjs-ng/quickjs/releases/download/v0.5.0/qjs-darwin
✔ Download completed.
❯ Extracting…
Installing binary to ~/.jsvu/engines/quickjs/qjs…
Installing symlink at ~/.jsvu/bin/qjs pointing to ~/.jsvu/engines/quickjs/qjs…
Installing wrapper script to ~/.jsvu/bin/quickjs…
✔ Extraction completed.
✔ Testing completed.
✔ QuickJS v0.5.0 has been installed! 🎉
✔ Found latest SpiderMonkey version: v131.0b3.
✔ URL: https://archive.mozilla.org/pub/firefox/releases/131.0b3/jsshell/jsshell-mac.zip
✔ Download completed.
❯ Extracting…
Installing library to ~/.jsvu/engines/spidermonkey/libmozglue.dylib…
Installing library to ~/.jsvu/engines/spidermonkey/libnss3.dylib…
Installing binary to ~/.jsvu/engines/spidermonkey/spidermonkey…
Installing symlink at ~/.jsvu/bin/spidermonkey pointing to ~/.jsvu/engines/spidermonkey/spidermonkey…
Installing symlink at ~/.jsvu/bin/sm pointing to ~/.jsvu/engines/spidermonkey/spidermonkey…
✔ Extraction completed.
✔ Testing completed.
✔ SpiderMonkey v131.0b3 has been installed! 🎉
✔ Found latest V8 version: v13.0.184.
✔ URL: https://storage.googleapis.com/chromium-v8/official/canary/v8-mac-arm64-rel-13.0.184.zip
✔ Download completed.
❯ Extracting…
Installing library to ~/.jsvu/engines/v8/icudtl.dat…
Installing library to ~/.jsvu/engines/v8/snapshot_blob.bin…
Installing binary to ~/.jsvu/engines/v8/v8…
Installing wrapper script to ~/.jsvu/bin/v8…
✔ Extraction completed.
✔ Testing completed.
✔ V8 v13.0.184 has been installed! 🎉
✔ Found latest XS version: v4.9.5.
✔ URL: https://github.com/Moddable-OpenSource/moddable/releases/download/4.9.5/xst-mac64arm.zip
✔ Download completed.
❯ Extracting…
Installing binary to ~/.jsvu/engines/xs/xs…
Installing symlink at ~/.jsvu/bin/xs pointing to ~/.jsvu/engines/xs/xs…
✔ Extraction completed.
✔ Testing completed.
✔ XS v4.9.5 has been installed! 🎉
> npm list -g eshost
/usr/local/lib
└─┬ [email protected]
└── [email protected]
> eshost --configure-jsvu
Using config "/Users/luma/.eshost-config.json"
"ChakraCore" could not be configured because /Users/luma/.jsvu/chakra was not found.
"Hermes" could not be configured because /Users/luma/.jsvu/hermes was not found.
"JavaScriptCore" could not be configured because /Users/luma/.jsvu/jsc was not found.
"QuickJS" could not be configured because /Users/luma/.jsvu/quickjs was not found.
"SpiderMonkey" could not be configured because /Users/luma/.jsvu/sm was not found.
"V8" could not be configured because /Users/luma/.jsvu/v8 was not found.
"Moddable XS" could not be configured because /Users/luma/.jsvu/xs was not found.
No configured hosts
> eza --tree ~/.jsvu
/Users/luma/.jsvu
├── bin
│ ├── hermes -> /Users/luma/.jsvu/engines/hermes/hermes
│ ├── hermes-compiler -> /Users/luma/.jsvu/engines/hermes/hermes-compiler
│ ├── javascriptcore
│ ├── jsc
│ ├── qjs -> /Users/luma/.jsvu/engines/quickjs/qjs
│ ├── quickjs
│ ├── sm -> /Users/luma/.jsvu/engines/spidermonkey/spidermonkey
│ ├── spidermonkey -> /Users/luma/.jsvu/engines/spidermonkey/spidermonkey
│ ├── v8
│ └── xs -> /Users/luma/.jsvu/engines/xs/xs
├── engines
│ ├── hermes
│ │ ├── hermes
│ │ └── hermes-compiler
│ ├── javascriptcore
│ │ ├── javascriptcore
│ │ └── JavaScriptCore.framework
<< OMITTED >>
│ │ └── Current -> A
│ ├── quickjs
│ │ └── qjs
│ ├── spidermonkey
│ │ ├── libmozglue.dylib
│ │ ├── libnss3.dylib
│ │ └── spidermonkey
│ ├── v8
│ │ ├── icudtl.dat
│ │ ├── snapshot_blob.bin
│ │ └── v8
│ └── xs
│ └── xs
└── status.json- OS: macOS M1 64-bit
Thanks.
Workaround for me (fish-shell)
echo ~/.jsvu/bin/* | string split ' ' | xargs -I{} ln -s {} ~/.jsvu/
# if you don't need quick js
# unlink ~/.jsvu/{qjs,quickjs}duplicated from tc39/eshost#143
Metadata
Metadata
Assignees
Labels
No labels