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

build using @material-ui/[email protected] fails #24620

Closed
1 of 2 tasks
dan-mba opened this issue Jan 25, 2021 · 2 comments
Closed
1 of 2 tasks

build using @material-ui/[email protected] fails #24620

dan-mba opened this issue Jan 25, 2021 · 2 comments
Assignees
Labels
bug 🐛 Something doesn't work

Comments

@dan-mba
Copy link
Contributor

dan-mba commented Jan 25, 2021

  • The issue is present in the latest release.
  • I have searched the issues of this repository and believe that this is not a duplicate.

Current Behavior 😯

build process fails with the following error:
./node_modules/@material-ui/core/esm/Box/Box.js
Attempted import error: 'styleFunctionSx' is not exported from '@material-ui/system'.

Expected Behavior 🤔

build process should complete:
it does with the main 4.11.3 release

Steps to Reproduce 🕹

Steps:

1.clone my repo
2. npm install
3. npm install @material-ui/core@deprecations
4. npm start

Context 🔦

I am trying to test my site for deprecations for v5.

Your Environment 🌎

System:
OS: Windows 8.1 6.3.9600
Binaries:
Node: 14.15.4 - C:\Program Files\nodejs\node.EXE
Yarn: 1.22.10 - ~\AppData\Roaming\npm\yarn.CMD
npm: 6.14.10 - C:\Program Files\nodejs\npm.CMD
Browsers:
Chrome: 88.0.4324.96
npmPackages:
@material-ui/core: ^4.11.3-deprecations.0 => 4.11.3-deprecations.0
@material-ui/icons: ^4.11.2 => 4.11.2
@material-ui/styles: 4.11.3
@material-ui/system: 4.11.3
@material-ui/types: 5.1.0
@material-ui/utils: 4.11.2
@types/react: 17.0.0
react: ^17.0.1 => 17.0.1
react-dom: ^17.0.1 => 17.0.1

@dan-mba dan-mba added the status: waiting for maintainer These issues haven't been looked at yet by a maintainer label Jan 25, 2021
@oliviertassinari oliviertassinari added bug 🐛 Something doesn't work and removed status: waiting for maintainer These issues haven't been looked at yet by a maintainer labels Jan 25, 2021
@oliviertassinari oliviertassinari self-assigned this Jan 25, 2021
@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 25, 2021

@dan-mba Thanks for giving it a try, I'm releasing a fix. We should have published the @material-ui/system package with a locked version.

@oliviertassinari
Copy link
Member

oliviertassinari commented Jan 25, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something doesn't work
Projects
None yet
Development

No branches or pull requests

2 participants