Cant bundle app Nativescript 4.1.1 nativescript-web-image-cache 4.2.6
Closed this issue · 7 comments
When i try to bundle and uglify the app it says Module not found: Error: Can't resolve 'nativescript-angular/element-registry'
I 'm using typescript not angularjs.
ERROR in ../node_modules/nativescript-web-image-cache/web-image-cache.js
Module not found: Error: Can't resolve 'nativescript-angular/element-registry' in @ ../node_modules/nativescript-web-image-cache/web-image-cache.js 148:31-79
@ ./app.ts
same issue here.
Did you find any solution?
@cryptonator000 nop :(
It seems that the plugin still works.
It is not a breaking error,
Can you confirm that? @Dinushasilva
@cryptonator000 plugin is working, the only problem is when you bundle it for production it's not working.
Version 4.2.6 works with --bundle --env.aot --env.uglify
, my NS version is 4.2
this issue exist still using nativescript-vue. Commenting out the code for initializeOnAngular fixes it which means this is trying to load angular even tho angular does not exist.
Ran into this issue today as well, opened PR #64.