-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[email protected] is throwing TypeScript errors #567
Comments
Yep, can confirm |
Same here |
Yup, having the same issue. Had to go back a version.. |
I'm experiencing the same issue. |
The same is happening here! |
Also getting broken builds... I'm not going to complain, but something should be done to avoid breaking the package on ionic-native@latest 😭 |
thanks for letting us know. We'll be looking into. Please refrain from adding "same here" |
@dlemphers is this an ionic 1 project or ionic 2? Also, what's your installed typescript version?
|
I wonder if this is related to moving from typescript 1.8.10 to 2.0.2 7f77b8f |
Hey all, please check your typescript version and update to 2.0.x if you haven't. We recently moved so the declaration files now require 2.0. In the meantime we'll check for a better backwards compat solution |
Okay, I'm reverting my changes that used typescript 2.0, going to publish a fixed 1.3.25, then will publish a 2.0.0 with typescript 2.0. Stand by |
Okay, fix landed. Can you all try 1.3.25? |
I updated to 1.3.25 and still having the same issue. |
Hi Max, I installed 1.3.25 and the previous errors are gone but got a new one. It seems that something might be missing in the export:
Thanks for checking this and sorry Mike if I disturbed you before, it wasn't my intention. |
@nachofregeiro are you seeing the exact issue or are you seeing what @FdezRomero sees? Also try nuking your ionic-native node modules dir first |
Same as him: Error TS2307: Cannot find module 'ionic-native'. Latest version working for me is 1.3.21. |
Thanks. So a different issue :D Are you guys testing in an Ionic app? If so, what version? |
|
Cordova CLI: 6.2.0 |
thanks, I think I see the issue here, pushing a fix now |
Okay, I think it's fixed now. can you try 1.3.27? |
1.3.27 is working! Awesome job! Thanks for helping us. |
After upgrading to 2.0.3 I'm still having this issue
|
If you are using ionic-gulp-browserify-typescript, you may be still using tsify 0.14.8 and typescript 1.8.10 even if you globally installed typescript 2.0. |
I reinstalled these packages (npm remove & npm install) and it still doesn't work. In my package.json I have
|
Do npm list and check this:
|
Currently that script uses an old version of typescript. We're going to be rolling out beta.12 this week with some other changes and that supports TS 2.0 |
Ok, thank you 👍 |
The text was updated successfully, but these errors were encountered: