You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to use this library, but as soon as I add it with npm i @streamflow/stream and I try to start my server, i'm getting an error
ReferenceError: exports is not defined
at file:///Users/jan/Projects/store/tg-token-gating/node_modules/@streamflow/stream/dist/cjs/index.js:31:23
at ModuleJobSync.runSync (node:internal/modules/esm/module_job:395:35)
at ModuleLoader.importSyncForRequire (node:internal/modules/esm/loader:329:47)
at loadESMFromCJS (node:internal/modules/cjs/loader:1411:24)
at Module._compile (node:internal/modules/cjs/loader:1544:5)
at node:internal/modules/cjs/loader:1668:16
at Object.require.extensions.<computed> [as .js] (/Users/jan/Projects/store/tg-token-gating/node_modules/ts-node/src/index.ts:1608:43)
at Module.load (node:internal/modules/cjs/loader:1313:32)
at Function._load (node:internal/modules/cjs/loader:1123:12)
at TracingChannel.traceSync (node:diagnostics_channel:322:14)
The text was updated successfully, but these errors were encountered:
@solanaspacesdev Can you reproduce this error? Also could you share your node version and the version of streamflow you are using. I just set up a fresh Nextjs project ,installed streamflow and imported something from it and didn't get that error.
I'm trying to use this library, but as soon as I add it with
npm i @streamflow/stream
and I try to start my server, i'm getting an errorThe text was updated successfully, but these errors were encountered: