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

The react-admin 3.0.0-beta demo doesn't work #3842

Closed
zhouhao27 opened this issue Oct 18, 2019 · 4 comments
Closed

The react-admin 3.0.0-beta demo doesn't work #3842

zhouhao27 opened this issue Oct 18, 2019 · 4 comments

Comments

@zhouhao27
Copy link

What you were expecting:

What happened instead:

The demo doesn't work. It shows:

Module not found: Can't resolve 'ra-core' in '/Users/user/Documents/react-admin/examples/demo/src/dataProvider'

Steps to reproduce:

  1. Clone the repository
  2. Switch to next branch
  3. yarn in examples/demo
  4. yarn start

Related code:

insert short code snippets here

Other information:

Environment

  • React-admin version: 3.0.0-beta.0
  • Last version that did not exhibit the issue (if applicable):
  • React version:
  • Browser:
  • Stack trace (in case of a JS error):
@djhi
Copy link
Collaborator

djhi commented Oct 18, 2019

Have you build all the packages first ? Try running yarn build at the repository root

@zhouhao27
Copy link
Author

It works when I copy the demo folder out and run yarn and yarn start. Thanks.

@zhouhao27
Copy link
Author

After I upgrade to 3.0.0-beta.2, I got an error again:

./node_modules/ra-core/esm/util/renderWithRedux.js
Module not found: Can't resolve '@testing-library/react' in '/Users/abc/Documents/React/demo/node_modules/ra-core/esm/util'

The steps:

  1. Copy demo folder out to ~/Desktop
  2. cd demo
  3. yarn
  4. yarn start

@fzaninotto
Copy link
Member

@zhouhao27 it was fixed in #3851

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

3 participants