Clone project to run this commands
step-1:
clone a
project
git clone https://github.com/dhanar98/bootstrap-icon-with-nextjs.git
step-2:
Install
Dependencies
npm install
step-3:
build a
project
npm run build
step-4
start a
project
npm start
(or)
npx next -p [portnumber]
E.X: npx next -p 1998
If the project throws Es-lint issue while starting a project
Add the code in next.config.js
file
module.exports = {
extends: [
'plugin:@next/next/recommended',
],
}
Repeat Step-4
(OR)
if it throws an issue already running in port 0:0:0:3000 port
lsof -ti:3000 | xargs kill -9
Repeat Step-4
Smile please 😁
Now the Issues are Solved.