Comments (3)
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.
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.
From the errors, I can see that
- You haven't installed the dependencies yet.
- nodemon is not installed in your system.
- 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 theserver.js
file is] to install all the dependencies locally. - Then go inside the
client
folder by the commandcd client
, and run the commandnpm i
to install the React js dependencies. - For installing nodemon run the command
npm i -g nodemon
from razorpay-payment-gateway-react-node.
Related Issues (2)
- payment captured but ... HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from razorpay-payment-gateway-react-node.