Has anyone else tried using libraries with the create-miro-app React TypreScript option? I followed the Hello World Miro example and it works fine but when I add Airtable and even though none of the Airtable code runs I receive the error:
Uncaught Error: Module "stream" has been externalized for browser compatibility and cannot be accessed in client code.
at Object.get (browser-external:stream:3)
at node_modules/node-fetch/lib/index.mjs (index.mjs:10)
at __init (chunk-EB7XYW2R.js?v=d66c9224:9)
at node_modules/airtable/lib/fetch.js (fetch.ts:2)
at __require2 (chunk-EB7XYW2R.js?v=d66c9224:12)
at node_modules/airtable/lib/base.js (base.ts:4)
at __require2 (chunk-EB7XYW2R.js?v=d66c9224:12)
at node_modules/airtable/lib/airtable.js (airtable.ts:1)
at __require2 (chunk-EB7XYW2R.js?v=d66c9224:12)
at dep:airtable:1
I have spent several hours looking it up and trying different options but even though the error changes I have not been able to make it work. Here is a sample repository with just a few changes from the default create-miro-app. To see the error get it running in Miro and open the dev console then open the app.
Any assistance would be appreciated.