MaTeMaTuK / gantt-task-react

Gantt chart for React with Typescript
MIT License
857 stars 474 forks source link

it is failed when running the example #172

Closed sandy105 closed 1 year ago

sandy105 commented 1 year ago

I ran in a issue when npm install: npm ERR! code 127 npm ERR! path /Users/yanteng/Projects/FAW/libs/gantt-task-react-main npm ERR! command failed npm ERR! command sh -c run-s build npm ERR! sh: run-s: command not found

npm ERR! A complete log of this run can be found in: npm ERR! /Users/yanteng/.npm/_logs/2023-03-16T07_51_34_395Z-debug-0.log

could someone know how to fix it?

maltinho8 commented 1 year ago

Did you navigate into the example folder first?

sandy105 commented 1 year ago

Yes, I fixed it by using this command: npm install create-react-app

sandy105 commented 1 year ago

npm install create-react-app

Lilja commented 3 months ago

Also ran into this error. Npm installing the root repository first and then the example directory worked for me.