Closed dennisnotebaart closed 9 months ago
Ran into the same problem. @dennisnotebaart did you manage to find a workaround? @riasvdv @AdrianMrn
@ignasradzius I've contacted support and was told they're working on a new version of the package. You can use the vanilla JS client in the meantime.
Hi!
Thanks everyone for your patience with this issue. We just tagged a beta version of our new JavaScript packages, with stable version coming next week!
If you already want to give them a try, you can install the following packages (they've been slightly renamed):
"dependencies": {
"@flareapp/js": "^1.0.0-beta",
"@flareapp/react": "^1.0.0-beta",
"@flareapp/vue": "^1.0.0-beta"
},
"devDependencies": {
"@flareapp/vite": "^1.0.0-beta"
}
Description
We have a Laravel project with an Inertia/React/TypeScript front-end. After adding the Flare React client we get TypeScript errors from the flare-react package when running
npm buid
.I've confirmed this is also the case in a fresh project.
Errors
How to reproduce
laravel new react-flare-test
)npm install @flareapp/flare-client @flareapp/vite-plugin-sourcemap-uploader @flareapp/flare-react
)flare.light()
and FlareErrorBoundary wrapper to the app root (as instructed in Flare)npm run buid