Showing posts with label reactjs. Show all posts
Showing posts with label reactjs. Show all posts

docker build sh: react-scripts: not found

 docker build sh: react-scripts: not found


Issue

 docker build sh: react-scripts: not found


Solution

Deleting package-lock.json and re-installing packages with npm install before building the container solved the issue for me.


Hope this will help you and save your time.

Enjoy !!!

:)