Upcoming database upgrades. Airtable functionality will be reduced for ~15 minutes at 06:00 UTC on Feb. 4 / 10:00 pm PT on Feb. 3. Learn more here
May 15, 2021 07:21 PM
I’m trying to create a table using this code:
I keep getting this error:
Bundle Error: Cannot find module '@airtable/blocks/dist/types/src/types/field' from 'C:\dev\my_app\build\development\transpiled\user\frontend'
As you can see…the type is found and no typescript errors are indicated on the line where it is used.
Wondering if this is a bug or some issue that needs a work-around. I know this functionality is beta right now.
Solved! Go to Solution.
May 15, 2021 07:30 PM
Your first line should be
import {FieldType} from '@airtable/blocks/models';
May 15, 2021 07:52 PM
Thanks! That crossed my mind but I ultimately forgot to try finding a different import.