flatlogic / light-blue-react-template

Light Blue React Template - Admin Dashboard Template built with React
https://flatlogic.github.io/light-blue-react-template/#/app/main/dashboard
MIT License
539 stars 180 forks source link

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

Closed adithyaakrishna closed 3 years ago

adithyaakrishna commented 4 years ago

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.

adithyaakrishna commented 4 years ago

@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 3 years ago

Install cross env using

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

to resolve this error