nexe fails to create `plugin-remote-endpoint` executable with error `Error: spawn python ENOENT`
See original GitHub issueDescribe the bug
While building the eclipse/che-theia-endpoint-runtime-binary:7.9.0
image, nexe gives the below issue:-
RUN nexe node_modules/@eclipse-che/theia-remote/lib/node/plugin-remote.js -b alpine-s390x-10.16.0 --python $(which python2) -o ${HOME}/plugin-remote-endpoint
---> Running in 976eb0749aad
3.3.2
- Starting...
ℹ nexe 3.3.2
- nexe 3.3.2
- Node source extracted to: /home/theia/.nexe/10.16.3
✔ Configuring node build: --dest-cpu=s390x
- Finished in 261.301s
✔ Finished in 261.301s
Error: spawn python ENOENT
at Process.ChildProcess._handle.onexit (internal/child_process.js:240:19)
at onErrorNT (internal/child_process.js:415:16)
at process._tickCallback (internal/process/next_tick.js:63:19)
Che version
- latest
- nightly
- other: 7.9.0
Steps to reproduce
git clone https://github.com/eclipse/che-theia.git
cd che-theia
./build.sh --build-args:THEIA_VERSION=${THEIA_VERSION} --tag:"7.9.0" --branch:"master" --skip-tests
Expected behavior
Build must complete successfully with the following 3 images:-
eclipse/che-theia:7.9.0
eclipse/che-theia-dev:7.9.0
eclipse/che-theia-endpoint-runtime-binary:7.9.0
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
spawn python ENOENT node.js in windows - Stack Overflow
Hy I had similar error: events.js:292 throw er; // Unhandled 'error' event ^. Error: spawn python ENOENT at Process.ChildProcess.
Read more >Midi Error: spawn python3 ENOENT (python not found ...
If I launch OSC using node, when I ask for the midi list, it doesn't show any information, if I launch the Mac...
Read more >Jupyter Won't Spawn ENOENT, unable to export pdf
I had Jupyter working for the first time yesterday, and was able use the latest version of Julia Pro, to run most files....
Read more >nexe - npm
Nexe is a command-line utility that compiles your Node.js application into a single executable file. Motivation and Features. Self contained ...
Read more >How I fixed "Error: spawn python ENOENT" when upgrading
I did this by temporarily renaming my configuration directory and creating a new, empty one instead. After stopping the container, renaming the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue fixed, Thanks!
should be fixed by https://github.com/eclipse/che-theia/pull/811