Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: react_admin_firebase__WEBPACK_IMPORTED_MODULE_1__ is not a function #234

Open
BPamukcuoglu opened this issue Jul 11, 2022 · 0 comments

Comments

@BPamukcuoglu
Copy link

---------ERROR
Uncaught TypeError: react_admin_firebase__WEBPACK_IMPORTED_MODULE_1__ is not a function
at ./src/App.js (App.js:16:1)
at options.factory (react refresh:6:1)
at webpack_require (bootstrap:24:1)
at fn (hot module replacement:62:1)
at ./src/index.js (App.js:26:1)
at options.factory (react refresh:6:1)
at webpack_require (bootstrap:24:1)
at startup:7:1
at startup:7:1

--------CODE
const options = {}
const dataProvider = FirebaseDataProvider(firebaseConfig, options);

--------DEPS
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^13.0.0",
"@testing-library/user-event": "^13.2.1",
"firebase": "^9.9.0",
"prop-types": "^15.8.1",
"ra-data-json-server": "^4.2.1",
"react": "^18.2.0",
"react-admin": "^4.2.2",
"react-admin-firebase": "^4.0.2",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"web-vitals": "^2.1.0"

I could't find the problem, any help would be appricated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant