skhye05 / nativescript-custom-bottomsheet

Apache License 2.0
6 stars 4 forks source link

NS8 Can't resolve 'tns-core-modules/application' in node_modules/nativescript-custom-bottomsheet #7

Open LavSea21 opened 2 years ago

LavSea21 commented 2 years ago

If the demo apps cannot help and there is no issue for your problem, tell us about it

I upgraded my NS app to v8.2.3 and when I try to build to an Android emulator, I receive the following error: Can't resolve 'tns-core-modules/application' in node_modules/nativescript-custom-bottomsheet

NS8 no longer uses tns-core-modules.

Which platform(s) does your issue occur on?

Pandishpan commented 1 year ago

@LavSea21 I just created a PR with migration to NS v8.3.

https://github.com/skhye05/nativescript-custom-bottomsheet/pull/8

Until is merged you can use the new forked version with the help of https://gitpkg.vercel.app/

npm i https://gitpkg.now.sh/Pandishpan/nativescript-custom-bottomsheet/src

Pandishpan commented 1 year ago

Or use the packing script to pack your version of this plugin even the forked one at https://github.com/Pandishpan/nativescript-custom-bottomsheet

Npm Packing script: https://github.com/skhye05/nativescript-custom-bottomsheet/blob/master/publish/pack.sh