Comments (10)
@AbhimanyuAryan I looked at the repo, but a lot of things are missing (content, images, etc.) that cause problems for the build. At this point, I'd strongly encourage you to start with a simpler starter project. Unfortunately, I'm not able to do any further debugging on this one.
Check the docs for the Airtable source plugin — they're thorough and will walk you through setting up your own Airtable integration: https://github.com/jbolda/gatsby-source-airtable
Good luck!
from lengstorf.com.
@AbhimanyuAryan if you delete the Airtable stuff and the speaking page, you won't need to worry about it at all.
There are MDX starters that are much simpler to get up and running — my site isn't really a starter; it's just my site.
Good luck!
from lengstorf.com.
@AbhimanyuAryan my site builds using Airtable data, which requires an API key. If you build a new site using gatsby-theme-jason-blog
, it should be my site without content or custom stuff like the Airtable integration.
Alternatively, you could set up an Airtable with these two tables:
- https://airtable.com/shragvnFckZYeUhvm/tblQwat4f9t7DJuVD?blocks=hide
- https://airtable.com/shr5IvPfIuL0PpKZo/tblhIXOm5nCO6jq4Z?blocks=hide
And update the gatsby-source-airtable
config to match your setup.
Note that you'll need Algolia keys as well (or disable that plugin as well). See https://github.com/jlengstorf/lengstorf.com/blob/master/.env.EXAMPLE for details.
I'm going to close this, but please let me know if you have additional questions!
from lengstorf.com.
I hope I'm not bugging you talking too much of your time. I think I'll need more help from you. Since I have never used Airtable before
-
Created an Airtable account. Created a workspace
Blog
. Then I went to project tracker to create Tables
-
Created two tables. Imported data from your tables
- Events
- Talks
and then I created sharable links for them
after adding API key in .env
AIRTABLE_API_KEY="keysadfasdfasdf"
I changed gatsby-config.js
{
resolve: 'gatsby-source-airtable',
options: {
apiKey: process.env.AIRTABLE_API_KEY,
tables: [
{
// Base: https://airtable.com/shrtR5ICGdbntCsT5
baseId: 'shrtR5ICGdbntCsT5',
tableName: 'Events',
tableView: 'Accepted',
tableLinks: ['Accepted_Talk(s)'],
},
{
// Base: https://airtable.com/shrKRJ0W2D16Q1hVp
baseId: 'shrKRJ0W2D16Q1hVp',
tableName: 'Talks',
tableView: 'Grid view',
}
]
}
}
but when I do gatsby build
. I get this error
error Plugin gatsby-source-airtable returned an error
Error: Could not find what you are looking for
What do you mean bgy tableLinks: ['Accepted_Talk(s)']. I have kept it same. All I did was to name my tables Events
and Talks
For Events
and Talks
I choose these tabs and renamed them too
from lengstorf.com.
No problem!
So, in Airtable, you can create "views", which are filtered or otherwise customized data views. In my Events
table, I've created a view called Accepted
that only shows me events where I've been accepted to speak.
That's what the tableView
option is specifying. So you'll need to create that view or change it to match the name of your view.
The tableLinks
field maps the Accepted Talk(s)
column in the Events
table to the data in the Talks
table, which allows me to make nested queries (e.g. event => talk details).
You've already got the Accepted Talk(s) column, so if you update the view names to match your table it should work.
from lengstorf.com.
Updated the view names
I get this error
error Plugin gatsby-source-airtable returned an error
Error: Could not find what you are looking for
(sharp:7192): GLib-CRITICAL **: 02:19:24.954: g_hash_table_lookup: assertion 'hash_table != NULL' failed
gatsby build 46.94s user 3.69s system 153% cpu 33.080 total
from lengstorf.com.
@AbhimanyuAryan try removing the tableLinks
option and see if it starts up. At this point, without seeing the code, there’s not much more that I can do. My approach to debugging this would be to disable things one at a time until I find the thing that’s breaking, then figure out why that thing is breaking.
Good luck!
from lengstorf.com.
@jlengstorf here's to repo. I have even added my .env with airtable key. So you can test properly
https://github.com/ivdstudios/abhimanyuaryan.github.io
from lengstorf.com.
@jlengstorf but can you not add everything to your git repo. So, if I clone & fix airtable + algolia. It should just work?
from lengstorf.com.
I couldn't find a better mdx starter. This is the only good mdx starter
from lengstorf.com.
Related Issues (20)
- footnotes are broken for some posts HOT 1
- select text to share
- Blog posts page links HOT 1
- bug: double slash in page routes HOT 1
- Older posts link is broken HOT 1
- Abstractions make it easy for things to fall through the cracks
- Abstractions are powerful, but come with danger.
- Dirt floors HOT 1
- Important notice from Amplitude: please update to v4.1.1 or newer HOT 5
- Storytelling in business
- Add Algolia search HOT 1
- Rerenders break Twitter embeds (and presumably other embeds) HOT 1
- How is "isBlogPost" being used? HOT 1
- tweetable comes up undefined HOT 2
- Trailing slash SEO issue HOT 7
- Broken image in dirt floors post HOT 1
- Search doesn not work / links are wrong HOT 1
- Content: Very small typo in the article 'Level setting' HOT 2
- Content: small typo in "Level Setting"
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lengstorf.com.