ChiChou / grapefruit

(WIP) Runtime Application Instruments for iOS. Previously Passionfruit
MIT License
819 stars 75 forks source link

ERROR Failed to compile with 1 error- while running the npm #7

Closed iamsidharthbnair closed 4 years ago

iamsidharthbnair commented 4 years ago

image

ChiChou commented 4 years ago

You've missed --recurse-submodules flag in git clone, which is already documented.

git submodule update --init to resolve this

iamsidharthbnair commented 4 years ago

cloned using.... git clone --recurse-submodules https://github.com/ChiChou/Grapefruit

also did run git submodule update --init

but receiving this error: fatal: not a git repository (or any of the parent directories): .git

ChiChou commented 4 years ago

You are running the command in a wrong directory. git submodule update --init needs to be used in the root directory of your local Grapefruit copy, and that's all you need to fix the problem.

git clone --recurse-submodules https://github.com/ChiChou/Grapefruit.git means re-cloning the whole repo again from the scrach.

Either way will do it for you.

You need to learn more about git: https://git-scm.com/docs/gittutorial

And please do not open duplicate issues for the same question. Use reopen if you think it's not resolved. Thanks

ChiChou commented 4 years ago

Here is the Discord channel of the project. You may get quicker response here

iamsidharthbnair commented 4 years ago

Thanks for the quick response and Knowledge transfer appreciate it, Thanks alot :)