Hey unfortunettlly this doesn't work
Unknown token: { line: 3, col: 2, type: 'INVALID', value: undefined } 3:2 in /app/yarn.lock
I have a basic CRA app, build with YARN and this is an error that I'm getting when running
docker build -t react-app .
It seems to be related to yarn.lock file. Try to add this file to dockerignore file and see if it’s still happen:)
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey unfortunettlly this doesn't work
I have a basic CRA app, build with YARN and this is an error that I'm getting when running
It seems to be related to yarn.lock file.
Try to add this file to dockerignore file and see if it’s still happen:)