-
Notifications
You must be signed in to change notification settings - Fork 2
Closed
Description
Hi folks, I'm having some trouble running assertive-ts/core in a browser environment. I thought this was possible but maybe I'm misunderstanding something?
This library is designed to work in the browser and in Node.js.
I'm trying to use this in a Cloudflare Worker, which is a v8 environment, but when I test locally I receive this error
✘ [ERROR] Build failed with 2 errors:
✘ [ERROR] Could not resolve "assert/strict"
node_modules/@assertive-ts/core/dist/index.js:11:23: 11 │ var strict_1 = require("assert/strict");
Which seems like a dependency on node's assert... although I'm probably mistaken about this.
In any case, could somebody potentially lend a hand and explain how the library is meant to be used in a browser? thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels