JoshDSommer / nativescript-ngx-slides

A NativeScript + Angular module for to add a slides component to your mobile app
Other
45 stars 34 forks source link

Failed to find module #54

Closed mrioso closed 6 years ago

mrioso commented 6 years ago

_An uncaught exception occurred on "main" thread. java,lang.RunTimeException: Unable to create application com.tns.NativeScriptApplication: com.tns.NativeScriptException:

Error calling module function

Error calling module function

Error calling module function

Error: com.tns.NativeScriptException: Failed to find module: "./slides/app/slides.module", relative to : app/tnsmodules/nativescript-ng2-slides/com.tns.Module.resolvePathHelper(Module.jasva:146) ....

i have installed library nativescript-ng2-slides. i tryed to install library nativescript-ngx-slides but i get the same error

My package.json: { "description": "NativeScript Application", "license": "SEE LICENSE IN ", "readme": "NativeScript Application", "repository": "", "nativescript": { "id": "org.nativescript.prueba2", "tns-android": { "version": "3.4.2" } }, "dependencies": { "@angular/animations": "~5.2.0", "@angular/common": "~5.2.0", "@angular/compiler": "~5.2.0", "@angular/core": "~5.2.0", "@angular/forms": "~5.2.0", "@angular/http": "~5.2.0", "@angular/platform-browser": "~5.2.0", "@angular/platform-browser-dynamic": "~5.2.0", "@angular/router": "~5.2.0", "nativescript-angular": "~5.2.0", "nativescript-ng2-carousel": "0.0.5", "nativescript-ng2-slides": "0.0.11", "nativescript-theme-core": "~1.0.4", "reflect-metadata": "~0.1.8", "rxjs": "~5.5.2", "tns-core-modules": "^4.0.0-2018-03-02-03", "zone.js": "~0.8.2" }, "devDependencies": { "babel-traverse": "6.4.5", "babel-types": "6.4.5", "babylon": "6.4.5", "lazy": "1.0.11", "nativescript-dev-typescript": "~0.6.0", "typescript": "~2.6.2" } }

JoshDSommer commented 6 years ago

in your package.json I see you have "nativescript-ng2-slides": "0.0.11". you will want to delete that module completely and use the latest version of "nativescript-ngx-slides"

mrioso commented 6 years ago

i get this error

screenshot_2018-03-07-12-35-25