"Command not found" when I executed my nodejs single executable #82
Unanswered
sophie0730
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there,
I've recently built a single executable for my nodejs project by nodejs v20. It works fine when the executable is under my nodejs directory.
However, when I move the executable to another directory, the command line shows "command not found" and I have no idea what's going on.
This script is the reference I used for building an executable.
https://nodejs.org/api/single-executable-applications.html
There are all files in my directory that would like to run the nodejs executable.
├── package-lock.json
├── package.json
├── pulse.yml
├── pulsetracker
├── sea-config.json
└── sea-prep.blob
└── .env
Thank you for your attention.
Beta Was this translation helpful? Give feedback.
All reactions