-
-
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
Unknown type "GitHub_Blob". #190
Comments
Hi @rjohar014 👋 This repository is still in steadily ongoing development (including breaking changes at any time) and, 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 usable by others. That's why there is no documentation about this repository and how to build & use it at all. Anyway, the problem you're facing is the fact that the used 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
Related to #173 |
Thank you for the detailed answer! I really appreciate you taking the time to thoroughly explain what's going on. I'll follow your instructions and should be able to troubleshoot and get it up and running again. |
Are you able to point me to a resource that will give a more detailed step-by-step approach as to how to replace .env with my own? I'm not sure what the file is supposed to contain nor how to expose the required environment variables. Thanks. EDIT: Got it working. Thanks again :) |
You're welcome, nice to to see you got it working 😄 GITHUB_TOKEN=XXXXXXX |
Description
When attempting to get nord-docs running locally, the project ends up compiling successfully but an error occurs at runtime labeled as:
and this error as well:
I have tried to look through the code and I can't seem to understand what the problem is.
Steps to Reproduce
Expected Behavior
Expected behavior is being able to get the project up and running locally.
Actual Behavior
An error occurs at runtime:
Unknown type "GitHub_Blob".
within the slack SectionSetup.jsx.
Environment and Versions
Version of Nord-docs: v0.23.0
Environment: MacOS Catalina 10.15.3
Node version: v12.14.1
NPM version: 6.13.7
Stack Trace and Error Messages
Additional Context
Potential Solution
This issue seems to stem from line 39 from:
I don't have any experience with gatsby or graphQL but I'm eager to learn how to solve this issue.
The text was updated successfully, but these errors were encountered: