Closed sibelly closed 2 years ago
Maybe try deleting node_modules
and package-lock.json
, then run npm install --force
, and see if it works? Verify only one version of @apollo/client
is installed by running npm ls @apollo/client
.
Thank you for the quick reply @jaydenseric.
This is the output for npm ls @apollo/client
:
investor-app@ /home/user/Documentos/legagreen/investor-app
├── @apollo/client@3.7.0-alpha.3
└─┬ apollo-upload-client@17.0.0
└── @apollo/client@3.7.0-alpha.3 deduped invalid: "^3.0.0" from node_modules/apollo-upload-client
npm ERR! code ELSPROBLEMS
npm ERR! invalid: @apollo/client@3.7.0-alpha.3 /home/user/Documentos/legagreen/investor-app/node_modules/@apollo/client
npm ERR! A complete log of this run can be found in:
npm ERR! /home/user/.npm/_logs/2022-05-10T15_35_28_652Z-debug-0.log
I tested the app here and worked fine, thanks for the --force
tip, I don't like it, but solves by now.
I need to use @apollo/client@3.7.0-alpha.3, because of this issue here -> https://github.com/apollographql/apollo-client/issues/9668
But the apollo-upload-client is breaking when I do a
npm install
Versions: