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

Can't resolve 'css-mediaquery' in "/react-admin/examples/demo/node_modules/ra-ui-materialui/esm/layout" #3610

Closed
tusmenko opened this issue Aug 27, 2019 · 1 comment

Comments

@tusmenko
Copy link

tusmenko commented Aug 27, 2019

What you were expecting:
Trying to Build Demo app on Alpha 3.0, getting error:

Failed to compile.

./node_modules/ra-ui-materialui/esm/layout/DeviceTestWrapper.js
Module not found: Can't resolve 'css-mediaquery' in '.../react-admin/examples/demo/node_modules/ra-ui-materialui/esm/layout'

Steps to reproduce:
Download source code, go to examples/demo/
run npm install
run npm run start

Can be fixed by adding css-mediaquery to projects dependencies in package.json.

Environment

  • React-admin version: 3.0.0-alpha.3
  • React version:16.8.6
  • Browser: Chrome
@tusmenko tusmenko changed the title Can't resolve 'css-mediaquery' in Can't resolve 'css-mediaquery' in "/react-admin/examples/demo/node_modules/ra-ui-materialui/esm/layout" Aug 27, 2019
@fzaninotto
Copy link
Member

duplicate of #3597

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

2 participants