innotrade / enapso-graphdb-client

ENAPSO Graph Database Client for Node.js
Apache License 2.0
9 stars 0 forks source link

can you upgrade your project for latest node version #9

Open fahadmhd opened 1 year ago

fahadmhd commented 1 year ago

I have been using your project since many months, but now I have upgraded my project wrt to latest node v18.12.1 When i install i.e., npm i @innotrade/enapso-graphdb-admin --save It gives me following error : npm ERR! code ERESOLVE npm ERR! ERESOLVE could not resolve npm ERR! npm ERR! While resolving: ra-data-graphql@3.11.4 npm ERR! Found: graphql@15.5.0 npm ERR! node_modules/graphql npm ERR! peer graphql@"^14.0.0 || ^15.0.0" from @apollo/client@3.3.19 npm ERR! node_modules/@apollo/client npm ERR! @apollo/client@"latest" from @apollo/react-hooks@4.0.0 npm ERR! node_modules/@apollo/react-hooks npm ERR! @apollo/react-hooks@"^4.0.0" from the root project npm ERR! peer graphql@"^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0" from @graphql-typed-document-node/core@3.1.0 npm ERR! node_modules/@graphql-typed-document-node/core npm ERR! @graphql-typed-document-node/core@"^3.0.0" from @apollo/client@3.3.19 npm ERR! node_modules/@apollo/client npm ERR! @apollo/client@"latest" from @apollo/react-hooks@4.0.0 npm ERR! node_modules/@apollo/react-hooks npm ERR! @apollo/react-hooks@"^4.0.0" from the root project npm ERR! 11 more (apollo-cache, apollo-cache-inmemory, apollo-client, ...) npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer graphql@"^14.1.1" from ra-data-graphql@3.11.4 npm ERR! node_modules/ra-data-graphql npm ERR! ra-data-graphql@"^3.11.4" from the root project npm ERR! npm ERR! Conflicting peer dependency: graphql@14.7.0 npm ERR! node_modules/graphql npm ERR! peer graphql@"^14.1.1" from ra-data-graphql@3.11.4 npm ERR! node_modules/ra-data-graphql npm ERR! ra-data-graphql@"^3.11.4" from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see: npm ERR! C:\Users\fahad\AppData\Local\npm-cache_logs\2022-12-29T16_44_32_037Z-eresolve-report.txt

From this line of error "npm ERR! Fix the upstream dependency conflict, or retry" it seems your project only works with previous versions of node. Is it possible you to upgrade it ? OR suggest how to fix thanks alot

asheshgoplani commented 1 year ago

Hello!

I would like to confirm that the package should work with the latest version of Node.js.

It is possible that there may be other issues or conflicts in your project that are causing the installation to fail. Here are a few suggestions for things you can try to resolve the issue:

I hope these suggestions are helpful. If you continue to have issues, please don't hesitate to ask for further assistance.