Now I tried it again. It doesn’t run forever anymore, but it has some other error now.
The failed run
A quote from the failed run:
Run npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/rollup/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN obsidian-shellcommands@0.1.1 No repository field.
added 40 packages from 79 contributors and audited 42 packages in 3.929s
5 packages are looking for funding
run `npm fund` for details
found 0 vulnerabilities
> obsidian-shellcommands@0.1.1 build /home/runner/work/obsidian-shellcommands/obsidian-shellcommands
> obsidian-plugin build src/main.ts -o .
sh: 1: obsidian-plugin: not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! obsidian-shellcommands@0.1.1 build: `obsidian-plugin build src/main.ts -o .`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the obsidian-shellcommands@0.1.1 build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/runner/.npm/_logs/2021-09-10T04_34_01_646Z-debug.log
Error: Process completed with exit code 1.
(Is there a way to make this big block of text to only show the first few lines and a “Show more link”?)
TL;DR I’m not really looking for solutions to this problem anymore. I just wanted to give you an update in case there are people in the same situation and maybe wondering if I was able to make it work or not. It’s not too much work to create releases manually and upload main.js and manifest.json. So I’ll stop here. 