mirror of
https://github.com/wirenboard/agent-vm.git
synced 2026-07-10 00:14:30 +00:00
Node's `require()` only treats a path as relative when prefixed with `./`. Bare `npm-dist/...` is interpreted as a node_modules / built-in module spec and throws 'Cannot find module'. The version-rewrite step above already used `fs.readFileSync` (which IS cwd-relative) so it worked; this step used `require` and didn't. Add the `./` prefix. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| build-image.yml | ||
| release-npm.yml | ||