dappnode / toolkit

1 stars 1 forks source link

Install graphql #33

Closed dsimog01 closed 1 year ago

dsimog01 commented 1 year ago

graphql is stated as a peer dependency of graphql-request. When installing toolkit in the dappmanager, an error is thrown due to this lib not being installed:

CustomError: Cannot find package 'graphql' imported from /app/node_modules/graphql-request/build/esm/resolveRequestDocument.js
    at packageResolve (/app/node_modules/ts-node/dist-raw/node-internal-modules-esm-resolve.js:757:9)

graphql-request expects graphql to be installed alongside it in the application that uses it

dsimog01 commented 1 year ago

this repo is using npm not yarn

True, sorry