Closed wuifdesign closed 2 years ago
I am getting both of those errors with Vite app. Have you had any progress with it? I will dig around a bit and report back if I find something useful.
Can you please try react-floater@next and report?
Hello, I created a repo, where I tested this.
react-floater@latest
- https://github.com/Pernick/react-floater-global-not-defined/tree/floater-latest
global is not defined
error is seen herereact-floater@next
- https://github.com/Pernick/react-floater-global-not-defined/tree/floater-next
global is not defined
no longer hereequal3 is not a function
error is newI am unfortunately busy right now with different task, so I put this in a background for a bit, but hopefully I can get to it this evening.
Also vite caches the dependencies, so whenever you would wanna try some changes in versions its good idea to delete node_modules/.vite/
before running npm run dev
EDIT: I am unable to get to it this week, hopefully weekend will be less hectic.
Just ran into this issue, too. I tried to enable various polyfills without any success with Vite.
Fixed in 0.8.0
In 0.8.0 I am getting equal3 is not a function
Getting same problem in 0.8.0 Uncaught TypeError: equal3 is not a function
Getting same problem in 0.8.0 Uncaught TypeError: equal3 is not a function
This is issue was about the global
variable...
🐛 Bug Report
Uncaught ReferenceError: global is not defined
when running dev mode with https://vitejs.dev/. For the build i may use the solution from https://github.com/gilbarbara/react-floater/issues/75I also get the error
Cannot call a namespace ('equal')
during build, but i can't finde out if it is related to react-floater or react-joyride.To Reproduce
Steps to reproduce the behavior:
Expected behavior
Should run/build