npm run build or yarn run build is Failing - cross-env is not recognized
Closed this issue · 2 comments
adithyaakrishna commented
While running, npm run build, I'm getting this error
and while using yarn build also, I got the same error. I'm kinda new to the cross-env thing. Do lmk how can i resolve this and how can get a production build of the site.
I wanted to build and deploy this app in netlify also, but still the same error there also.
adithyaakrishna commented
@Blari @okendoken @stepnov Sorry for the mention, but my whole project was done on this and we aren't able to build it. if you don't mind, pls do let me know what can I do here?
dushyanthaKa commented
Install cross env using
yarn add cross-env
or
npm install cross-env --save-dev
to resolve this error