coderaiser / coderaiser/cloudcmd
Offline-compatible menu support
Open
@coderaiser is already working on this.
Since Jul 29, 2026.
feature
- Dominant language
- JavaScript
- Stars
- 2k
- Forks
- 270
- PR merge metrics
- No merged PRs in 30d
Description
Environment
- Cloud Commander: 18.0.0
- Node.js: 22.23.1
- npm: 10.9.8
- Operating system: Ubuntu Server
Symptom
Cloud Commander exits during startup:
TypeError: validateArgs is not a function
Reproduction
npm install -g cloudcmd@18.0.0
cloudcmd --no-open
Relevant code
const validateArgs = await simport('@putout/cli-validate-args');
In the tested environment, the returned value is a module object rather than the callable named export.
Workaround
Changing the import to the named export resolves the startup failure:
const {validateArgs} = await import('@putout/cli-validate-args');
Expected result
Cloud Commander should resolve and invoke the validateArgs function consistently on supported Node.js versions.
Additional context
Version 18.0.0 was evaluated as an offline-compatible alternative because later browser assets may depend on external runtime module delivery.
A documented and reversible workaround is available here:
https://github.com/jorgeoroz/cloudcmd-offline-fix
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.