material-community-components: updating to latest version fails to compile and error as dependency missing
Describe the bug after upating to latest version I’m getting this error
ERROR in The target entry-point "material-community-components/color-picker" has missing dependencies:
- @thebespokepixel/es-tinycolor
- tinycolor2
To Reproduce Steps to reproduce the behavior:
- Go to ‘…’
- Click on ‘…’
- Scroll down to ‘…’
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: open
- Created 4 years ago
- Reactions: 5
- Comments: 24 (13 by maintainers)
@motabass Yeah, seems like that, 3.7.5. I’ll try to upgrade it.
https://github.com/tiaguinho/material-community-components/pull/178/commits/5a1a3419cc72ae9bab4bdb2208746d8907775b06 should fix all error showing up due to
strictTemplateschecksIt looks like you import from subfolders now:
import { MccColorPickerModule } from 'material-community-components/color-picker';Same error here, old import seems not exists anymore (in the doc I still see the v7 with this import:
import {MccColorPickerModule} from 'material-community-components') With the new import I have the same missing dependencies Already tried to delete node modules but nothing changed. I have angular 10.1.2