Git Product home page Git Product logo

Comments (6)

pavlobu avatar pavlobu commented on May 21, 2024 1

README.md is outdated. it recommends to use a CRA template
from here:
https://www.npmjs.com/package/cra-template-rmw
the last time it has been updated was 3 months ago already


so to get latest version of react-most-wanted template I had to run this:

cd my/awesome/test/dir
git clone https://github.com/TarikHuber/react-most-wanted
npx create-react-app my-app --template file:/full/path/to/react-most-wanted/packages/cra-template-rmw/ # the one that you just git cloned
cd my-app
yarn start

from react-most-wanted.

gregfenton avatar gregfenton commented on May 21, 2024 1

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 ncu -u, it ended up upgrading the following:

Upgrading /Users/merpy/work/my-app/package.json
[====================] 55/55 100%

 @date-io/moment              ^1.3.13  →   ^2.6.0
 @testing-library/jest-dom     ^4.2.4  →   ^5.7.0
 @testing-library/react        ^9.5.0  →  ^10.0.4
 @testing-library/user-event   ^7.2.1  →  ^10.2.0
 downshift                     ^3.4.8  →   ^5.3.0
 github-markdown-css           ^3.0.1  →   ^4.0.0
 react-dropzone               ^10.2.2  →  ^11.0.1
 react-helmet                  ^5.2.1  →   ^6.0.0
 react-intl                   ^3.12.1  →   ^4.5.3
 react-player                 ^1.15.3  →   ^2.0.1
 react-scripts                  3.3.0  →    3.4.1
 react-toastify                ^5.5.0  →   ^6.0.4

Run npm install to install new versions.

from react-most-wanted.

UseMuse avatar UseMuse commented on May 21, 2024

#105

from react-most-wanted.

wcousin avatar wcousin commented on May 21, 2024

I can't get this app to run on my machine...not sure what the issue. Seems like a cool project otherwise

from react-most-wanted.

pavlobu avatar pavlobu commented on May 21, 2024

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

cd my/awesome/test/dir
git clone https://github.com/TarikHuber/react-most-wanted
npx create-react-app my-app --template file:/full/path/to/react-most-wanted/packages/cra-template-rmw/ # the one that you just git cloned
cd my-app
yarn start

then make sure you follow the guide from README.md to set up your firebase app
here is the firebase setup guide

though this firebase setup process ^^^ wasn't that smooth so I had to google search to solve some minor issues, myself

from react-most-wanted.

Charly6596 avatar Charly6596 commented on May 21, 2024

@pavlobu your fix works for me too, i was following the codelab mentioned in the readme.md, which suggests using npx create-react-app test-app --scripts-version rmw-react-scripts, which as you also said in another issue, seems to be using an outdated template
thanks

from react-most-wanted.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.