Skip to content

fix: run the clone command in the web container ('service nodejs does not exist')#12

Open
gkastanis wants to merge 1 commit into
FreelyGive:mainfrom
gkastanis:fix/clone-web-container
Open

fix: run the clone command in the web container ('service nodejs does not exist')#12
gkastanis wants to merge 1 commit into
FreelyGive:mainfrom
gkastanis:fix/clone-web-container

Conversation

@gkastanis

Copy link
Copy Markdown

Problem

commands/nodejs/clone targets a nodejs service that nothing in the current stack defines:

  • this add-on does not ship a nodejs docker-compose service and install.yaml documents no prerequisite for one,
  • DDEV-Canvas names its node service storybook,
  • this add-on's own README says the pipeline runs inside the DDEV web container.

So ddev clone <url> — the exact command the post-install message tells users to run — fails on every current install:

service nodejs does not exist

Fix

Move the command to commands/web/clone. Verified working there: the web container has node 24 and the pipeline's dependencies via the post-start daemon. Also updates install.yaml's project_files entry and the two comments (in the command and the README) that referenced the nodejs container.

Testing

Ran the moved command's exact body in the web container today (2026-07-15) against a real site with --scope homepage: full mechanical pipeline (screenshots, DOM sections, assets) completed in ~4 minutes, exit 0.

Found while standing up an eval environment for the Canvas migration tooling. Related PR in the same sweep: the flagship skill filename fix (see the sibling PR).

🤖 Generated with Claude Code

…dejs service

commands/nodejs/clone requires a 'nodejs' service that nothing in the
current stack defines: this add-on ships no docker-compose service,
DDEV-Canvas names its node service 'storybook', and this README states
the pipeline runs in the web container. 'ddev clone' therefore fails on
every current install with 'service nodejs does not exist'.

Move the command to commands/web/ (the web container has node and the
pipeline deps via the post-start daemon) and update the two comments
that referenced the nodejs container.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant