Git Product home page Git Product logo

Comments (3)

aricction avatar aricction commented on August 14, 2024 1

After installing npm i -g concurrently and running npm run dev ,it still doesnt opens up the software in localhost , it show error '

[1] > [email protected] client
[1] > npm run start --prefix client
[1]
[0]
[0] > [email protected] server
[0] > nodemon server.js
[0]
[0] 'nodemon' is not recognized as an internal or external command,
[0] operable program or batch file.
[0] npm run server exited with code 1
[1]
[1] > [email protected] start
[1] > react-scripts start
[1]
[1] 'react-scripts' is not recognized as an internal or external command,
[1] operable program or batch file.
[1] npm run client exited with code 1

from razorpay-payment-gateway-react-node.

Soumya-Dey avatar Soumya-Dey commented on August 14, 2024

The repo was not in sync with the blog. Sorry for that. It is now in sync with the blog post in Dev.to. You may need to clone the repo again in your local machine.
For running this on your system replace the Razorpay keys inside env.js file with your keys and use your own MongoDB uri.

Then you can run npm i -g concurrently to install concurrently globally in your machine, which is used here to run the backend and frontend with a single command.
Then you can run the command npm run dev to start both the front and back end servers.

from razorpay-payment-gateway-react-node.

Soumya-Dey avatar Soumya-Dey commented on August 14, 2024

From the errors, I can see that

  • You haven't installed the dependencies yet.
  • nodemon is not installed in your system.
  1. To run any project cloned from a repo, first, you have to run the command npm i from the root of the project folder[the folder where the server.js file is] to install all the dependencies locally.
  2. Then go inside the client folder by the command cd client, and run the command npm i to install the React js dependencies.
  3. For installing nodemon run the command npm i -g nodemon

from razorpay-payment-gateway-react-node.

Related Issues (2)

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.