triniwiz / nativescript-image-zoom

Apache License 2.0
19 stars 14 forks source link

Module 'ImageZoom' not found #43

Closed RGBvision closed 3 years ago

RGBvision commented 3 years ago
System.err: An uncaught Exception occurred on "main" thread.
System.err: Calling js method run failed
System.err: Error: Building UI from XML. @photos/photo-zoom-page.xml:30:17
System.err:  > Module 'ImageZoom' not found for element 'nativescript-image-zoom:ImageZoom'.
System.err:    > require's first parameter should be string

CLI 8.0.2

"dependencies": {
    "@nativescript-community/gps": "^3.0.0",
    "@nativescript-community/https": "^3.2.2",
    "@nativescript-community/ui-image": "^4.0.26",
    "@nativescript-community/ui-mapbox": "^6.2.9",
    "@nativescript-community/ui-pager": "^13.0.26",
    "@nativescript/camera": "^5.0.9",
    "@nativescript/core": "~8.0.0",
    "@nativescript/firebase": "^11.1.3",
    "@nativescript/imagepicker": "^1.0.5",
    "@nativescript/localize": "^5.0.4",
    "@nativescript/theme": "~3.0.1",
    "@nstudio/nativescript-floatingactionbutton": "^3.0.4",
    "@triniwiz/nativescript-image-zoom": "4.1.1",
    "@triniwiz/nativescript-toasty": "^4.1.3",
    "moment": "^2.29.1",
    "nativescript-dna-deviceinfo": "^3.7.1",
    "nativescript-imagecropper": "^4.0.1",
    "nativescript-intl": "^4.0.2",
    "nativescript-ripple": "^4.0.1"
  },
  "devDependencies": {
    "@nativescript/android": "8.0.0",
    "@nativescript/ios": "8.0.0",
    "@nativescript/types": "8.0.1",
    "@nativescript/webpack": "beta",
    "node-sass": "^6.0.1"
  },
triniwiz commented 3 years ago

Sine you used the @triniwiz module you will need to import from it also 'nativescript-image-zoom:ImageZoom -> '@triniwiz/nativescript-image-zoom:ImageZoom

RGBvision commented 3 years ago

Sine you used the @triniwiz module you will need to import from it also 'nativescript-image-zoom:ImageZoom -> '@triniwiz/nativescript-image-zoom:ImageZoom

My bad. Thanks!