DuckDB-WASM => Error: Blob is not defined #227
-
I'm trying to setup a playground project using JetBrains Webstorm IDE, which AFAIU used node as a dev environment. My project should use the WASM connector. So I just followed the simple examples, but get an error when the WASM part is instantiated: import * as vg from '@uwdata/vgplot';
// configure the coordinator to use DuckDB-WASM
// creates a new database instance running in-browser
const wasm = await vg.wasmConnector();
vg.coordinator().databaseConnector(wasm); This is the error I get on the line with
Well, any idea what I'm doing wrong? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok, maybe I'm screwing things up a bit. The |
Beta Was this translation helpful? Give feedback.
Ok, maybe I'm screwing things up a bit. The
Blob
thing is not available in node.js, but only in the browser. While it looks like my Webstorm project is a node.js project... so, now figuring out how to setup a web-client only project.