-
-
Notifications
You must be signed in to change notification settings - Fork 50
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
updating to latest version fails to compile and error as dependency missing #171
Comments
Same error here, old import seems not exists anymore (in the doc I still see the v7 with this import: |
Hi. There is in fact a new peer dependency not packaged with the lib @tiaguinho can you update the demo? I already took care of the missing docs about new import method and peer dependency: #173 |
It looks like you import from subfolders now: |
Thats correct |
@tiaguinho There is a good need for updated demo's/documentation. Another error:
which should become either I like the feature openOnFocus though 👍 |
@eholman the error appears only when having "strictTemplates" = true in your angularCompilerOptions. I'll try to change the types to work with strict template type checks. EDIT: i maybe found a solution already: |
5a1a341 should fix all error showing up due to |
All changes are now documented and https://github.com/tiaguinho/material-community-components/releases/tag/v9.0.1 is released so this can be closed i think |
The demo is now up to date: |
Good move and great job! |
I still see tinycolor2 missing dependencies |
@lippomano @sheikalthaf It seems as if an import from |
Thanks @motabass |
@tiaguinho 9.0.2 has _theming.scss missing!! |
@motabass I just publish a new version fixing this. @lippomano can you check version v9.0.3? |
@tiaguinho Installed v 9.0.3 and installed additionally @thebespokepixel/es-tinycolor v 2.1.1
|
@VladMstv which TypeScript version are you using? Seems to have no support for Type-only imports. https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-8.html |
@motabass |
Hi, I'm also having this problem.. 9.0.3 didn't fix it.
|
Being on typescript > 3.8 and adding @types/tinycolor2 to your devDependencies should fix it for now. |
On a clean install I get this compilation error: ERROR in node_modules/material-community-components/color-picker/color-picker.types.d.ts:41:29 - error TS2709: Cannot use namespace 'Instance' as a type.
|
@belivo which Angular and MCC version are you using? |
@tiaguinho |
no solution jet?
dependency:
dev-dependency:
|
Describe the bug
after upating to latest version I'm getting this error
To Reproduce
Steps to reproduce the behavior:
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):
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: