I am unable to deploy my React App to Netlify. Its encontering Error during Yarn install when building the App.
I tried changing the build command from npm run build to yarn run build yet still not working
I am unable to deploy my React App to Netlify. Its encontering Error during Yarn install when building the App.
I tried changing the build command from npm run build to yarn run build yet still not working
Based on the build error log, the deploy didn't include the yarn.lock/package.json. Either that or the yarn version was different than the one the package.json file was based on.
If you see that your package.json is getting deployed, I would recommend try to clear the cache and try running the CI again.
There's helpful Github thread on the matter: https://github.com/yarnpkg/berry/issues/2948
If this didn't solve your problem, please provide us with more info on how did you do your deployment and what files did you include!