I was just trying out a new IHP Backend project based on the expo template. When I check out the templated project and run
npm install I'm getting this error:
[nix-shell:~/pymodules/attics-mobile]$ npm install npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree npm ERR! npm ERR! While resolving: email@example.com npm ERR! Found: firstname.lastname@example.org npm ERR! node_modules/react npm ERR! react@"17.0.1" from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.2" from email@example.com npm ERR! node_modules/ihp-backend npm ERR! ihp-backend@"*" from the root project
Does this require an upstream PR to the template to bump the react version?
I also had a question about which npm version to use. I've check the project out into a separate repo but would like to integrate it with an existing IHP app. I'm wondering what the best way to ensure that I use a consistent npm version pinned to the same nixpkgs set is?