-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
usePortsMetadata GraphQL error #173
Comments
Hi @impulse, the problem is that the project in an early development state and there are no information about the project itself yet. As you can see on the roadmap the repository is also kind of a case study for me to build a project from scratch in a clean and well documented way. Like described in #1 the main goal is to create a sine-source-of-truth for the Nord project which is why this is kind of a opinionated project and currently not really laid out to be easily useable by others. Anyway, the problem you're facing is the fact that the used official gatsby-source-graphql plugin requires an valid GitHub API token in order to fetch data from the GraphQL API. The data is used to display information about all the port project repositories on the ports page like the amount of stars or the latest version as well as linking to the public URL of the repository without "hardcoding" it into the code base. In order to use the project you need to
|
Thanks for the writeup :). Currently learning Gatsby and GraphQL so this helps^^. |
Description
Cannot spin up a local dev environment with a fresh clone + npm i + npm run dev:local
Steps to Reproduce
Expected Behavior
No build errors
Actual Behavior
GraphQL Error: Unknown type "GitHub_Repository".
Environment and Versions
What is the version of Nord or the port project you are running?
nord-docs
Have you tried to reproduce it on different OS environments and if yes is the behavior the same for all?
no
Are you using any additional CLI arguments to run the project?
no
Are you using any additional CLI arguments to start the build tool task/script other than defined by the project?
no
If you've installed Node.js on your system you can run envinfo via [npx]
Stack Trace and Error Messages
The text was updated successfully, but these errors were encountered: