marcello3d / graphql-98 Goto Github PK
View Code? Open in Web Editor NEWA visual GraphQL data browser. Like a SQL GUI for GraphQL!
A visual GraphQL data browser. Like a SQL GUI for GraphQL!
If you try to point the app at Github API, there's no way to pass in authentication headers due to CORS not allowing those headers. I've seen a similar issue with other sites.
Three main solutions:
Trying to load a GraphQL URL silently fails ("Load" button doesn't react). I was inputting http://localhost:8080/graphql
.
In Debugtron I can see the following error, not sure if it's related:
cannot handle file:///C:/Users/david/AppData/Local/GraphQL98/app-0.2.2/resources/app.asar/.webpack/renderer/app/index.html?url=http%3A%2F%2Flocalhost%3A8080%2Fgraphql: APP_WEBPACK_ENTRY=file://C:\Users\david\AppData\Local\GraphQL98\app-0.2.2\resources\app.asar\.webpack\renderer\app\index.html
v0.2.2
Windows 10 21H1
C:\Users\david\proj\graphql-98>npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: [email protected]
npm ERR! node_modules/react
npm ERR! dev react@"17.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer react@"15.x || 16.x || 16.4.0-alpha.0911da3" from @reach/[email protected]
npm ERR! node_modules/@reach/router
npm ERR! dev @reach/router@"1.3.4" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force, or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR! See C:\Users\david\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\david\AppData\Local\npm-cache\_logs\2022-02-06T12_10_06_568Z-debug-0.log
Windows 10 21H1
node v16.13.2
npm v8.4.1
eresolve-report.txt:
# npm resolution error report
2022-02-06T12:10:07.318Z
While resolving: [email protected]
Found: [email protected]
node_modules/react
dev react@"17.0.1" from the root project
Could not resolve dependency:
peer react@"15.x || 16.x || 16.4.0-alpha.0911da3" from @reach/[email protected]
node_modules/@reach/router
dev @reach/router@"1.3.4" from the root project
Fix the upstream dependency conflict, or retry
this command with --force, or --legacy-peer-deps
to accept an incorrect (and potentially broken) dependency resolution.
Raw JSON explanation object:
{
"code": "ERESOLVE",
"current": {
"name": "react",
"version": "17.0.1",
"whileInstalling": {
"name": "graphql-98",
"version": "0.2.2",
"path": "C:\\Users\\david\\proj\\graphql-98"
},
"location": "node_modules/react",
"isWorkspace": false,
"dependents": [
{
"type": "dev",
"name": "react",
"spec": "17.0.1",
"from": {
"location": "C:\\Users\\david\\proj\\graphql-98"
}
}
]
},
"currentEdge": {
"type": "dev",
"name": "react",
"spec": "17.0.1",
"from": {
"location": "C:\\Users\\david\\proj\\graphql-98"
}
},
"edge": {
"type": "peer",
"name": "react",
"spec": "15.x || 16.x || 16.4.0-alpha.0911da3",
"error": "INVALID",
"from": {
"name": "@reach/router",
"version": "1.3.4",
"whileInstalling": {
"name": "graphql-98",
"version": "0.2.2",
"path": "C:\\Users\\david\\proj\\graphql-98"
},
"location": "node_modules/@reach/router",
"isWorkspace": false,
"dependents": [
{
"type": "dev",
"name": "@reach/router",
"spec": "1.3.4",
"from": {
"location": "C:\\Users\\david\\proj\\graphql-98"
}
}
]
}
},
"strictPeerDeps": false,
"force": false
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.