We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
A simple React sandbox importing the react-admin package fails with this error message:
TypeError (0 , $csb___store.memoryStore) is not a function
The same code running locally works like a charm.
I tested using various started kits (React TypeScript, bare Vite, etc), the problem persists.
The sandbox contains just this code:
import React from "react"; import { Admin, Resource, ListGuesser, EditGuesser } from "react-admin"; import apiClient from "ra-data-json-server"; const dataProvider = apiClient("https://jsonplaceholder.typicode.com"); const App = () => ( <Admin dataProvider={dataProvider}> <Resource name="users" list={ListGuesser} edit={EditGuesser} /> <Resource name="posts" list={ListGuesser} edit={EditGuesser} /> <Resource name="comments" list={ListGuesser} edit={EditGuesser} /> </Admin> ); export default App;
I'm trying to create a test sandbox for react-admin
Try downloading it and installing deps: it works. But on codesandbox.io, it fails.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
🐛 bug report
Preflight Checklist
adheres to.
to file, without success.
Description of the problem
A simple React sandbox importing the react-admin package fails with this error message:
The same code running locally works like a charm.
Details
I tested using various started kits (React TypeScript, bare Vite, etc), the problem persists.
The sandbox contains just this code:
How has this issue affected you? What are you trying to accomplish?
I'm trying to create a test sandbox for react-admin
Link to sandbox: https://codesandbox.io/p/sandbox/r2rptc
Try downloading it and installing deps: it works. But on codesandbox.io, it fails.
Your Environment
The text was updated successfully, but these errors were encountered: