ERROR: failed to solve: process "/bin/sh -c yarn install --production" did not complete successfully: exit code: 1

Open
#469 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
50/100
Issue type
Documentation
Clarity
Mostly clear
Activity status
Stale
Tech stack
docker, javascript, node.js
Domain
documentation

Research direction

Find the source for the getting-started tutorial page linked in the issue and inspect the shown Dockerfile snippet. Update the deprecated Node image reference, then verify that dependency installation succeeds and the rendered example matches the corrected snippet.

Written by the indexing model from the issue text.

Description

The "getting started" tutorial is using deprecated Node 18 which prevented dependencies from being fetched, making parts of the tutorial broken. Please update for example this code snippet from http://localhost/tutorial/our-application/

FROM node:18-alpine
WORKDIR /app
COPY . .
`RUN yarn install --production
CMD ["node", "src/index.js"]
Dominant language
JavaScript
Stars
3.1k
Forks
6.4k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from docker/getting-started

All issues in docker/getting-started

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.