From cec654da3ff0750e576e4bc3201670611f75b9be Mon Sep 17 00:00:00 2001 From: Lalli Nuorteva Date: Mon, 22 Apr 2019 10:11:26 +0300 Subject: [PATCH] Fix send-introspection-query command for npm `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. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ebfc2f95..79b0a81a 100644 --- a/README.md +++ b/README.md @@ -75,7 +75,7 @@ directory: ```sh yarn send-introspection-query http://my-api.example.com/api # or, if you use npm -npm run send-introspection-query http://my-api.example.com/api +npx send-introspection-query http://my-api.example.com/api ```