mhallin / graphql_ppx

GraphQL PPX rewriter for Bucklescript/ReasonML
BSD 3-Clause "New" or "Revised" License
320 stars 42 forks source link

Fix send-introspection-query command for npm #79

Open lalnuo opened 5 years ago

lalnuo commented 5 years ago

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.

nlfiedler commented 4 years ago

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?