graphql-request icon indicating copy to clipboard operation
graphql-request copied to clipboard

Node v15 support?

Open TheKnarf opened this issue 4 years ago • 2 comments

$ yarn
yarn install v1.22.10
[1/4] 🔍  Resolving packages...
[2/4] 🚚  Fetching packages...
error [email protected]: The engine "node" is incompatible with this module. Expected version "10.x || 12.x || 14.x". Got "15.0.1"
error Found incompatible module.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
$ node --version
v15.0.1

edit I'm not actually using it for node, but for the browser. So I found that I can make yarn ignore the incompatibility by running yarn config set ignore-engines true. Still somewhat annoying.

TheKnarf avatar Dec 12 '20 18:12 TheKnarf

Ran into the same issue, using @graphql-tools/mock which depends on this library

m-lautenbach avatar Mar 02 '21 09:03 m-lautenbach

Looks like this was actually already solved: https://github.com/prisma-labs/graphql-request/commit/37b51e1b7613ad17d01a0c92918f4120761ff71d#diff-7ae45ad102eab3b6d7e7896acd08c427a9b25b346470d7bc6507b6481575d519

m-lautenbach avatar Mar 02 '21 09:03 m-lautenbach