jbristowe / nativescript-sound

MIT License
12 stars 15 forks source link

Can't resolve 'nativescript-sound' - Nativescript 8.1.5 #17

Open kriefsacha opened 2 years ago

kriefsacha commented 2 years ago

Hi, i updated nativescript to the last version (8.1.5).

I'm using nativescript-angular, and since then i can't use nativescript-sound or rather nativescript-sound-kak ( @methompson 's plugin ).

i have or

ERROR in ./src/app/scan/scan.component.ts 210:12-41 Module not found: Error: Can't resolve 'nativescript-sound' in 'C:\Users\krief\OneDrive\Documents\Projets\GitHub\visualy\VisualyScan\src\app\scan' @ ./src/app/app-routing.module.ts 5:0-58 18:31-44 @ ./src/app/app.module.ts 2:0-56 38:12-28 @ ./src/main.ts 6:0-45 8:69-78

or

ERROR in ./node_modules/nativescript-sound-kak/sound-common.js 1:0-51 Module not found: Error: Can't resolve 'tns-core-modules/file-system' in 'C:\Users\krief\OneDrive\Documents\Projets\GitHub\visualy\VisualyScan\node_modules\nativescript-sound-kak' @ ./node_modules/nativescript-sound-kak/sound.android.js 1:0-41 3:20-31 @ ./src/app/scan/scan.component.ts 210:12-45 @ ./src/app/app-routing.module.ts 5:0-58 18:31-44 @ ./src/app/app.module.ts 2:0-56 38:12-28 @ ./src/main.ts 6:0-45 8:69-78

package.json:

{
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "dependencies": {
    "@angular/animations": "^12.2.5",
    "@angular/common": "^12.2.5",
    "@angular/compiler": "^12.2.5",
    "@angular/core": "^12.2.5",
    "@angular/forms": "^12.2.5",
    "@angular/http": "8.0.0-beta.10",
    "@angular/platform-browser": "^12.2.5",
    "@angular/platform-browser-dynamic": "^12.2.5",
    "@angular/router": "^12.2.5",
    "@nativescript/angular": "^12.2.0",
    "@nativescript/background-http": "~5.0.0",
    "@nativescript/camera": "~5.0.0",
    "@nativescript/core": "~8.1.1",
    "@nativescript/datetimepicker": "^2.1.9",
    "@nativescript/firebase": "^11.1.3",
    "@nativescript/geolocation": "~8.0.0",
    "@nativescript/imagepicker": "~1.0.0",
    "@nativescript/theme": "^3.0.1",
    "@ngx-translate/core": "~14.0.0",
    "@ngx-translate/http-loader": "~7.0.0",
    "@nstudio/nativescript-camera-plus": "^4.1.0",
    "@nstudio/nativescript-loading-indicator": "~4.0.0",
    "@nstudio/nativescript-pulltorefresh": "~3.0.0",
    "@nstudio/nativescript-snackbar": "~2.0.0",
    "nativescript-angular": "^10.0.0",
    "nativescript-imagecropper": "~4.0.0",
    "nativescript-nfc": "~5.0.0",
    "nativescript-permissions": "^1.3.8",
    "nativescript-sound": "^1.0.4",
    "nativescript-theme-core": "~1.0.4",
    "nativescript-ui-chart": "~9.0.0",
    "nativescript-ui-sidedrawer": "~10.0.0",
    "nativescript-webview-interface": "^1.4.2",
    "reflect-metadata": "~0.1.10",
    "rxjs": "~7.3.0",
    "tns-platform-declarations": "^6.5.15",
    "zone.js": "~0.11.4"
  },
  "devDependencies": {
    "@angular/compiler-cli": "^12.2.5",
    "@nativescript/android": "8.1.1",
    "@nativescript/schematics": "~0.5.0",
    "@nativescript/types": "~8.1.0",
    "@nativescript/webpack": "rc",
    "@ngtools/webpack": "^12.2.5",
    "@types/jasmine": "^3.5.11",
    "typescript": "~4.3.5"
  },
  "readme": "NativeScript Application",
  "main": "./src/main.ts"
}

If someone can help thank you