holzschu / holzschu/a-shell

execjs._exceptions.RuntimeUnavailableError: Could not find an available JavaScript runtime.

Open
#656 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Perl
Stars
3.9k
Forks
213
Avg merge
1m
Merged PRs (30d)
1

Description

I have some issue with the PyExecJS library.

```
[~/Documents]$ python
Python 3.11.0 (heads/3.11-dirty:2af28c9018, Apr 23 2023, 19:57:14) [Clang 14.0.3 (clang-1403.0.22.14.
1)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import execjs
>>> execjs.eval("'red yellow blue'.split(' ')")
Traceback (most recent call last):
File "", line 1, in
File "/var/mobile/Containers/Data/Application/24D7FAD5-9E04-4D2D-8741-A69E0854A4A8/Library/lib/pyth
on3.11/site-packages/execjs/__init__.py", line 51, in eval
return get().eval(source, cwd)
^^^^^
File "/var/mobile/Containers/Data/Application/24D7FAD5-9E04-4D2D-8741-A69E0854A4A8/Library/lib/pyth
on3.11/site-packages/execjs/_runtimes.py", line 21, in get
return get_from_environment() or _find_available_runtime()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/var/mobile/Containers/Data/Application/24D7FAD5-9E04-4D2D-8741-A69E0854A4A8/Library/lib/pyth
on3.11/site-packages/execjs/_runtimes.py", line 49, in _find_available_runtime
raise exceptions.RuntimeUnavailableError("Could not find an available JavaScript runtime.")
execjs._exceptions.RuntimeUnavailableError: Could not find an available JavaScript runtime.
>>>
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.