You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing graphql-cli using pnpm@5.5.1 and invoking node_modules/.bin/graphql with no arguments, an ENOTDIR error is raised.
To Reproduce
Steps to reproduce the behavior:
$ mkdir graphql-cli-example
$ cd graphql-cli-example
$ pnpm init -y
...
$ pnpm add graphql-cli@4.0.0
...
$ ./node_modules/.bin/graphql
(node:58370) UnhandledPromiseRejectionWarning: Error: ENOTDIR: not a directory, stat '/Users/spencerelliott/Dev/elliottsj/graphql-cli-example/node_modules/.pnpm/graphql-cli@4.0.0/node_modules/graphql-cli/dist/bin.js/node_modules/@graphql-cli/*'
(node:58370) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:58370) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Expected behavior
No error should occur.
The text was updated successfully, but these errors were encountered:
Describe the bug
After installing graphql-cli using pnpm@5.5.1 and invoking
node_modules/.bin/graphql
with no arguments, anENOTDIR
error is raised.To Reproduce
Steps to reproduce the behavior:
Expected behavior
No error should occur.
The text was updated successfully, but these errors were encountered: