-
Notifications
You must be signed in to change notification settings - Fork 61
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 install. Failed to compile. #13
Comments
@Spirka what version of Angular and TypeScript are you using? Try updating TypeScript to 3.7.4. npm i typescript@3.7.4 --save
npm update |
@Spirka checking in to see if upgrading TypeScript fixed your compilation issue. |
Thanks for such a quick reply! |
@Spirka sounds like your Angular CLI needs to be updated too. What version of Angular are your running? Try updating to Angular 9. |
@Spirka you seem to be mixing all kinds of stuff.. i see some angular 8 stuff but other stuff is 9 again this is how it looks to me: "@angular/animations": "^9.0.1", with dev deps like: "devDependencies": { |
I can’t update Angular because other projects related to mine will break( |
Can I somehow put it on 8 Angular? |
i think that should work, (you can always move back to the source one) |
@jcompagner thanks for the comments / help for @Spirka . @Spirka did you get this working? |
@jcompagner I'm also running into the same issue as @Spirka. My project is using Angular 8 with this setup: upgrading the project to Angular 9 is currently not approved and I don't think Angular 8 supports Typescript >= 3.7 Any idea how to get this library working? Thanks! |
this could be tricky, not sure if you can compile a lib with different typescript version (or compile it so that it has a lower as target) Bot sure what happens if this project for now forces itself to be on 3.5.3 ... |
That's a bit unfortunate since the original version seems to have been left in the dust. I think for now I'll use some basic components until we upgrade our project to Angular 9 and then I'll try this solution again. Thanks for the quick response :) |
I have the same problem, using
Is this fork working only on angular 9 ? |
@Crocsx right now, yes, it appears that ng8 typescript versions are not compiling with this package (as it's targeted to use ng9 typescript). I would suggest to use the original forked package (https://github.com/DanielYKPan/date-time-picker). |
Ok noted, thanks for updating the readme |
Closing. If you need > Ng9 support please stick with: https://github.com/DanielYKPan/date-time-picker |
Hello.
When I tried to install this module and use it I catch the
What do I need to do?
The text was updated successfully, but these errors were encountered: