-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error while starting demo after installation (found fix: should upgrade react-scripts to 3.4.0) #117
Comments
README.md is outdated. it recommends to use a CRA template so to get latest version of react-most-wanted template I had to run this:
|
I can't get this app to run on my machine...not sure what the issue. Seems like a cool project otherwise |
@wcousin I just edited post, it was misleading. you can actually provide a full path to your local CRA template folder in your machine. here what worked for me:
then make sure you follow the guide from README.md to set up your firebase app though this firebase setup process ^^^ wasn't that smooth so I had to google search to solve some minor issues, myself |
@pavlobu your fix works for me too, i was following the codelab mentioned in the readme.md, which suggests using |
For me I got it working with: $ npx create-react-app my-app --template rmw --use-npm
$ cd my-app
$ npm install -g npm-check-updates
$ ncu -u
$ npm install
$ npm start For the command
|
the problem is that project uses old version of react-scripts 3.3.0
when I replaced it to 3.4.0 all worked for me
my system config:
MacOS 10.15.3 (19D76)
node: v12.16.1
npm: 6.13.4
npx: 6.13.4
(create-react-app uninstalled globally)
after first ever installation demo running this command:
npx create-react-app my-app --template rmw
there is an error and app doesn't run:
in browser (http://localhost:3000/) and terminal there is the same message shown ^^^^^^^^^^
how to fix this issue:
in
package.json
change :
"react-scripts": "3.3.0",
to
"react-scripts": "3.4.0",
save file and run:
yarn install
in your project root directory
after that, application runs with no errors and I was able to see home page in browser
thanks for your work, it is such a great project!
P.S. you probably need to update template here:
https://www.npmjs.com/package/cra-template-rmw
I see here:
https://github.com/TarikHuber/react-most-wanted/blob/545e6d8765b5b660069280a859b1e5505457ff95/packages/cra-template-rmw/template/package.json
you are using a good react scripts version,
but last update in npmjs.com was 3 months ago
The text was updated successfully, but these errors were encountered: