flatlogic/light-blue-react-template

npm run build or yarn run build is Failing - cross-env is not recognized

Closed this issue · 2 comments

While running, npm run build, I'm getting this error

image

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.

image

I wanted to build and deploy this app in netlify also, but still the same error there also.

@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?

Install cross env using

yarn add cross-env
or
npm install cross-env --save-dev

to resolve this error