nodejs – How to Fix Gnosis Safe Create Safe App Template Failing

gnosis-safenodejsnpmsafe-apps-sdk

I am trying to run npx create-react-app my-safe-app --template @gnosis.pm/cra-template-safe-app but I am getting this error.

I'm just following the instructions at https://github.com/safe-global/safe-apps-sdk/tree/master/packages/cra-template-safe-app

Please advise 🙂

I tried to bootstrap a safe app and getting this error

Best Answer

You have a mismatch version with @testing-library/@react13.4.0 and [email protected] when installing, you should try upgrade the version of everything to latest and try it again.

Other option could be upgrade your version of nodejs.

In the worst case, you can run the installation ignoring outdated packages, try with the flags --legacy-peer-deps.

$ npx create-react-app my-safe-app --template @gnosis.pm/cra-template-safe-app --legacy-peer-deps
Related Topic