eshost-cli
eshost-cli copied to clipboard
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
eshost --configure-jsvu
Using config "C:\Users\Jack\.eshost-config.json"
Configuring jsvu host with name "ChakraCore" (type "ch") at "C:\Users\Jack\.jsvu\chakra.cmd"
Host "ChakraCore" already exists
C:\Users\Jack\AppData\Roaming\npm\node_modules\eshost-cli\lib\host-manager.js:172
] = VU_HOST_DETAILS[vu][engine];
^
TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator))
at Object.exports.configureFromVersionUpdater (C:\Users\Jack\AppData\Roaming\npm\node_modules\eshost-cli\lib\host-manager.js:172:9)
at Object.<anonymous> (C:\Users\Jack\AppData\Roaming\npm\node_modules\eshost-cli\bin\eshost.js:294:15)
There's not enough information here for me to act on. If you can provide the contents of the .jsvu config file, that would be helpful. Thanks.
~/.jsvu on my computer is a folder.
~/.jsvu/status.json
{
"os": "win64",
"engines": [
"chakra",
"hermes",
"quickjs",
"spidermonkey",
"v8",
"xs"
],
"chakra": "1.11.23",
"hermes": "0.7.1",
"spidermonkey": "84.0b2",
"v8": "8.9.7",
"xs": "10.4.0"
}
I have patched node_modules to add a try-catch on those failing lines and get my eshost configured.
sorry this still happens in 7.6.1

I guess you should check VU_HOST_DETAILS[vu][engine] too
Latest is now npm install [email protected]
Using config "C:\Users\Jack\.eshost-config.json"
Configuring jsvu host with name "ChakraCore" (type "ch") at "C:\Users\Jack\.jsvu\chakra.cmd"
Configuring jsvu host with name "Hermes" (type "hermes") at "C:\Users\Jack\.jsvu\hermes.cmd"
C:\Users\Jack\AppData\Roaming\npm\pnpm-global\4\node_modules\.pnpm\registry.npmjs.org\[email protected]\node_modules\eshost-cli\lib\host-manager.js:191
const version = status[engine] || (status.installed[engine] && status.installed[engine].version);
^
TypeError: Cannot read property 'javascriptcore' of undefined
at Object.exports.configureFromVersionUpdater (C:\Users\Jack\AppData\Roaming\npm\pnpm-global\4\node_modules\.pnpm\registry.npmjs.org\[email protected]\node_modules\eshost-cli\lib\host-manager.js:191:56)
at Object.<anonymous> (C:\Users\Jack\AppData\Roaming\npm\pnpm-global\4\node_modules\.pnpm\registry.npmjs.org\[email protected]\node_modules\eshost-cli\bin\eshost.js:294:15)