DEV Community

loading...

Discussion on: How to Install React in Laravel 8

Collapse
jsf00 profile image
Saf Venture

This worked for me. I encountered error while running npm install (npm ERR! Unexpected end of JSON input while parsing near '...) . I fixed it by executing

npm cache clean --force
npm install -g @angular/cli
then run npm install && npm run dev

Thanks.