graphql_ppx icon indicating copy to clipboard operation
graphql_ppx copied to clipboard

Fix send-introspection-query command for npm

Open lalnuo opened this issue 6 years ago • 1 comments
trafficstars

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.

lalnuo avatar Apr 22 '19 07:04 lalnuo

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?

nlfiedler avatar May 07 '20 03:05 nlfiedler