davecoffin / nativescript-modal-datetimepicker

Apache License 2.0
59 stars 36 forks source link

Old version when runing ns plugin add (crash with ns7 and ios) #72

Closed Serge-SDL closed 3 years ago

Serge-SDL commented 3 years ago

Which platform(s) does your issue occur on?

Please, tell us how to recreate the issue in as much detail as possible.

how can I get the ns7 updated version? (npm is not up to date) thanks!

romandrahan commented 3 years ago

Same for me.

paul-castro commented 3 years ago

Any updates on this issue?

davecoffin commented 3 years ago

Sorry for the delay guys! I'll try and bang this out tomorrow, will likely move it to the https://github.com/nstudio/nativescript-plugins repo.

davecoffin commented 3 years ago

Ok I just published 2.1.0 for now. Should be good for supporting nativescript 7. thanks to @alonstar and @adrianpdaluz for the help!

paul-castro commented 3 years ago

I updated nativescript-modal-datetimepicker plugin into 2.1.0 but when I ran the project, I got this error:


ERROR in ./app/features/more/bill-payment/schedule-billpay/schedule-billpay.component.ts Module not found: Error: Can't resolve 'nativescript-modal-datetimepicker' in '/usr_folder/src/app/features/more/bill-payment/schedule-billpay' @ ./app/features/more/bill-payment/schedule-billpay/schedule-billpay.component.ts 9:0-72 82:27-46 @ ./app/features/more/bill-payment/bill-payment.module.ts @ ./app/features/more/more-routing.module.ts @ ./app/features/more/more.module.ts @ ./app/app-routing.module.ts @ ./app/app.module.ts @ ./main.ts

ERROR in 6.js from Terser Unexpected token: operator (!) [./app/features/more/bill-payment/schedule-billpay/schedule-billpay.component.ts:115,27][6.js:785,27] at ee (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:19541) at c (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:28244) at l (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:28335) at f (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:28388) at G (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:42567) at /Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:40948 at G (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:41074) at ge (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:48272) at /Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:49152 at be (/Users/gelo/Documents/echoapp/node_modules/terser-webpack-plugin/node_modules/terser/dist/bundle.min.js:1:49167)

nikoTM commented 3 years ago

Same, I get Can't resolve 'nativescript-modal-datetimepicker' with ns7

nikoTM commented 3 years ago

@davecoffin Something is not right about the published version, transpiled javascript is missing, only d.ts files are present:

Screen Shot 2020-10-23 at 12 28 57 PM
razorsyntax commented 3 years ago

Same here. I'm getting

Module not found: Error: Can't resolve 'nativescript-modal-datetimepicker'

I'm using Angular 10.1.0 and Nativescript 7.0.10

dnepromell commented 3 years ago

@davecoffin could you rebuild the package and publish the full version? *.ts files are miss in 2.1.0

montxogandia commented 3 years ago

I'm waiting for this, the @proplugins version seems to fail also in iOS 14. Thanks. Can I solve it meanwhile or do I have to wait?

razorsyntax commented 3 years ago

Same as above. Is there a way to solve this without waiting for a pull request?

montxogandia commented 3 years ago

Guys I finally used this version that actually works on iOS 14.1 and NS 7.0.11: https://www.npmjs.com/package/nativescript-modal-datetimepicker-ns-7

davecoffin commented 3 years ago

should be fixed now in 2.1.5