PriyankaGurnaniCometChat / marketplace-cometchat

How to Build a Marketplace Site with React & Node.js (Amazon Clone) with CometChat
MIT License
3 stars 7 forks source link

Struggling to start running the app #2

Open sforesi opened 2 years ago

sforesi commented 2 years ago

Hi there,

I love the demo, thank you for publishing it! I'm having a hard time running it on my end however, I've run npm i and npm start but i keep getting this same error `

comechat-marketplace@0.1.0 start craco start sh: craco: command not found Screen Shot 2022-03-17 at 3 23 42 PM `

It's strange because I do have craco in my package.json and I've tried to reinstall with quite a few different commands, any suggestions on what I might be doing wrong? Thank you!

igorasilveira commented 2 years ago

Hi @sforesi. craco there is being run as a shell command, so you must have craco installed.

Run npm install -g @craco/craco

See https://github.com/gsoft-inc/craco/issues/323.

Hope this helps.