1

I'd like to fork this repository and run it on my local server: https://github.com/carbon-app/carbon.git

I am familiar with React but new to Next.js. The scripts in the package.json are specified as follows:

"scripts": {
    "dev": "next",
    "build": "next build",
    "start": "next start",

How can I run this as a React project using npm? I'm interested in the React part to recreate another app using this app's frontend. Please help me to run as a react project.

1 Answer 1

2

first, you should install dependencies:

npm i

then run next js in development mode using:

npm run dev

for more details, visit Next.js docs

Sign up to request clarification or add additional context in comments.

1 Comment

Thank you. I tried npm start earlier but it didn't work. npm run dev is working. How will it affect production? do you have any idea?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.