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

amzaing-time-picker does NOT work with "@angular/*": "^7.2.1" and "@angular/material": "^7.2.1" #119

Open
st-clair-clarke opened this issue Jan 17, 2019 · 3 comments

Comments

@st-clair-clarke
Copy link

st-clair-clarke commented Jan 17, 2019

Hi,
I updated to the above libraries and get the following errors:

Errors

Error during template compile of 'AmazingTimePickerModule'
Function calls are not supported in decorators but 'ɵmakeDecorator' was called
in 'NgModule'
'NgModule' calls 'ɵmakeDecorator'.
node_modules/@angular/core/src/render3/ng_dev_mode.d.ts(9,11): error TS2451: Can
not redeclare block-scoped variable 'ngDevMode'.
node_modules/amazing-time-picker/node_modules/@angular/core/src/render3/ng_dev_m
ode.d.ts(9,11): error TS2451: Cannot redeclare block-scoped variable 'ngDevMode'
.
@Enngage
Copy link

Enngage commented Jan 17, 2019

It does work in my project using both Angular and Material on version 7.2.1. I would suggest you clean up your node_modules and install clean dependencies.

@st-clair-clarke
Copy link
Author

removed my node_modules directory and reinstall but same error persists.

@st-clair-clarke
Copy link
Author

Sorry. Have to remove library. Clean install on another machine still result in the same error. Only library giving me issues. Hope it can be sorted out.

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