- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Feb 24, 2021 08:13 PM
I am getting the following error when trying to run a custom app (have tried 4 different apps and same result with each one). Any help would be greatly appreciated. Thanks
ReferenceError: _airtableReact is not defined
at Object. (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:61606)
at r (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:361)
at Object. (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:642245)
at r (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:361)
at Object. (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:704425)
at r (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:361)
at Module. (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:2445491)
at r (https://static.airtable.com/js/by_sha/3f43c1b0/block_frame.js:1:361)
at async Promise.all (index 1)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎Mar 01, 2023 08:27 AM - edited ‎Mar 01, 2023 08:27 AM
A little late, but could it be that in your package.json, you set
"type": "module"
That'll make it so that on block run, the code that runs in the generated .tmp folder fails since it tries to run as a module.
Removing that "type" setting should fix it.