question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

nexe fails to create `plugin-remote-endpoint` executable with error `Error: spawn python ENOENT`

See original GitHub issue

Describe 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
abhay1722commented, Aug 21, 2020

Issue fixed, Thanks!

0reactions
azatsarynnyycommented, Aug 21, 2020
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found