Open
Description
Is this a docs issue?
- My issue is about the documentation content or website
Type of issue
Information is incorrect
Description
in the Docker file the yarn installation cause the error bellow to happen even thought your tutorial specify that you just need to run the command
docker compose watch
for the application to run
> [client client-base 2/5] RUN --mount=type=cache,id=yarn,target=/usr/local/share/.cache/yarn yarn install:
3.970 yarn install v1.22.22
4.221 [1/4] Resolving packages...
4.787 [2/4] Fetching packages...
5.834 info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
5.835 error SyntaxError: /usr/local/share/.cache/yarn/v6/npm-is-date-object-1.0.5-0841d5536e724c25597bf6ea62e1bd38298df31f-integrity/node_modules/is-date-object/.yarn-metadata.json: Unexpected end of JSON input
5.835 at JSON.parse (<anonymous>)
5.835 at /opt/yarn-v1.22.22/lib/cli.js:1629:59
5.835 at Generator.next (<anonymous>)
5.835 at step (/opt/yarn-v1.22.22/lib/cli.js:310:30)
5.835 at /opt/yarn-v1.22.22/lib/cli.js:321:13
I try fixing it using npm install yarn but the application still will not show , only a text message containing "Loading..." so I wonder if there is any error with your github code ?
I want to express my gratitude for your help in solving this problem and share this to ensure that future student won't encounter the same problem
Location
https://docs.docker.com/get-started/introduction/develop-with-containers/
Suggestion
thing that need to be change :
- I change the Dockerfile to used npm install instead of a single install yarn
- I don't know why the todo page still buffer with a "Loading text " please fix it for me