Difference between revisions of "GitHub-GraphQL"

From BITPlan Wiki
Jump to navigation Jump to search
Line 6: Line 6:
 
* https://nodejs.org/en/
 
* https://nodejs.org/en/
 
Which installed Node.js v8.10.0 and npm v5.6.0 on my system
 
Which installed Node.js v8.10.0 and npm v5.6.0 on my system
 +
I could then install
 +
<source lang='bash'>
 +
npm install -g get-graphql-schema
 +
</source>
 +
after fixing the permission errors of the first attempt with
 +
<source lang='bash'>
 +
cd /usr/local/lib
 +
sudo chmod g+w node_modules/
 +
sudo chgrp staff node_modules/
 +
</source>

Revision as of 17:58, 16 March 2018

Trying to use the GitHub GraphQL API with GrapQL-Java i asked the following Stackoverflow question:

While waiting for an answer I found:

And therefore decided to download the MacOS package of npm from:

Which installed Node.js v8.10.0 and npm v5.6.0 on my system I could then install

npm install -g get-graphql-schema

after fixing the permission errors of the first attempt with

cd /usr/local/lib
sudo chmod g+w node_modules/
sudo chgrp staff node_modules/