Build triggered via SSH fails #2670
Unanswered
xplosionmind
asked this question in
Q&A
Replies: 1 comment
-
|
By re-reading the log I see that the node version appears to be 12.22.12. Nevertheless, by checking the version I get: In the website directory, I have this |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I have a copy of my Eleventy website installed on a Debian 11 VPS, which I access via SSH.
The repository of my website lies in the home directory of the administration user.
The script I run to build the website is
npm run buildand you can see what this command triggers by looking at my package.json file.I will skip all the other unnecessary details and get straight to the error.
When I SSH into the server directly, then
cdinto the website repo and runnpm run build, the website is deployed with no problems at all. Nevertheless, if I pass only the command via SSH (ssh -p 302323 [email protected] 'cd tommi.space && npm run build'), I get this error instead:Below the content of the
/home/admin/.npm/_logs/2022-11-30T16_21_38_837Z-debug.logfile:…and of
/home/admin/.npm/_logs/2022-11-30T16_21_38_865Z-debug.log:Beta Was this translation helpful? Give feedback.
All reactions