Open ali1tokan opened 3 years ago
@ali1tokan have you tried using previous nativescript versions?
@eclairAB thanks for reply, No but I assumed it works cause 'tns-core-modules' will be found App upgraded to v8, so I had to find a solution for this plugin.
got this Errors when using the plugin with v8
1-ERROR in ./node_modules/nativescript-webrtc-plugin/src/android/TNSRTCMediaDevices.js Module not found: Error: Can't resolve 'tns-core-modules/application' 2-ERROR in ./node_modules/nativescript-webrtc-plugin/src/android/TNSRTCPeerConnection.js Module not found: Error: Can't resolve 'tns-core-modules/ui/core/view' 3- ERROR in ./node_modules/nativescript-webrtc-plugin/webrtc.android.js Module not found: Error: Can't resolve 'tns-core-modules/utils/utils' 4-ERROR in ./node_modules/nativescript-webrtc-plugin/webrtc.common.js Module not found: Error: Can't resolve 'tns-core-modules/data/observable'
here is my package.json
{ "name": "@nativescript/template-drawer-navigation-ng", "main": "src/main.ts", "displayName": "Navigation Drawer", "templateType": "App template", "version": "8.1.0", "description": "NativeScript Application", "author": "NativeScript Team oss@nativescript.org", "license": "SEE LICENSE IN",
"publishConfig": {
"access": "public"
},
"files": [
"App_Resources",
"hooks",
"src",
"tools",
"!tools/assets",
".editorconfig",
"references.d.ts",
"tsconfig.json"
],
"keywords": [
"nstudio",
"nativescript",
"mobile",
"angular",
"{N}",
"tns",
"template",
"drawer",
"navigation",
"category-general"
],
"repository": "",
"homepage": "https://github.com/NativeScript/nativescript-app-templates",
"bugs": {
"url": "https://github.com/NativeScript/NativeScript/issues"
},
"dependencies": {
"@angular/animations": "^12.2.0",
"@angular/common": "^12.2.0",
"@angular/compiler": "^12.2.0",
"@angular/core": "^12.2.0",
"@angular/forms": "^12.2.0",
"@angular/platform-browser": "^12.2.0",
"@angular/platform-browser-dynamic": "^12.2.0",
"@angular/router": "^12.2.0",
"@nativescript/angular": "^12.2.0",
"@nativescript/core": "~8.1.1",
"@nativescript/theme": "~3.0.1",
"nativescript-ui-sidedrawer": "~10.0.1",
"nativescript-webrtc-plugin": "^2.0.0-alpha.22",
"reflect-metadata": "~0.1.13",
"rxjs": "~7.3.0",
"zone.js": "~0.11.4"
},
"devDependencies": {
"@angular/compiler-cli": "^12.2.0",
"@nativescript/android": "8.1.1",
"@nativescript/types": "~8.1.1",
"@nativescript/webpack": "~5.0.0",
"@ngtools/webpack": "^12.2.0",
"typescript": "~4.3.5"
},
"private": "true",
"readme": "NativeScript Application"
}