Replies: 1 comment
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm getting this error
Uncaught ReferenceError: global is not defined at index.mjs:657:16
It happens when trying to do
const fiefClient = new Fief()
From what I've read, Vue is trying to load a package written for node and doesn't access
global
I've tried a few workarounds like a polyfill that tries renaming
global
towindow
withBut to no avail.
Any ideas on how to load the package in a Vue component? I'm using vue and vite
My existing source
Beta Was this translation helpful? Give feedback.
All reactions