Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix send-introspection-query command for npm #79

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lalnuo
Copy link

@lalnuo lalnuo commented Apr 22, 2019

npm run send-introspection-query does not work.

$ npm run send-introspection-query http://localhost:3000/graphql
npm ERR! missing script: send-introspection-query

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/lallinuo/.npm/_logs/2019-04-22T07_09_52_599Z-debug.log```

it should be npx send-introspection-query http://localhost:3000/graphql instead.

`npm run send-introspection-query ` does not work.

```
$ npm run send-introspection-query http://localhost:3000/graphql
npm ERR! missing script: send-introspection-query

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/lallinuo/.npm/_logs/2019-04-22T07_09_52_599Z-debug.log```
```

it should be `npx send-introspection-query http://localhost:3000/graphql` instead.
Copy link

@JasoonS JasoonS left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can confirm - npm run doesn't work; and npx works

@nlfiedler
Copy link

And poof it's gone:

$ npx send-introspection-query http://localhost:3000/graphql
npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/send-introspection-query - Not found
npm ERR! 404
npm ERR! 404  'send-introspection-query@latest' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     /Users/nfiedler/.npm/_logs/2020-05-07T03_55_15_552Z-debug.log
Install for [ 'send-introspection-query@latest' ] failed with code 1

Maybe it's temporary?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants