Error in Nativescript 7.3.0 and angular 11.2.5
Hi I am getting below error in android. I am using @nstudio/nativescript-camera-plus 3.4.0 version
Module not found: Error: Can't resolve 'tns-core-modules/ui/core/view/view' in '/NativeScript/node_modules/@nstudio/nativescript-camera-plus'
@ ../node_modules/@nstudio/nativescript-camera-plus/camera-plus.js 10:13-58
@ ./app.component.ts
@ ./app.module.ts
@ ./main.ts
could you please help me to fix this issue
I had the same problem. But then I realised that the «latest» version all of a sudden seems to be 3.4.0 - whereas the version before was 4.0.3 - which is giving me different errors right now. Either was - I think something went terribly wrong with the last push.
I downloaded the plugin, placed the code in the plugins folder, connected it via package.json
"@nstudio/nativescript-camera-plus": "file:plugins/nativescript-camera-plus"
In tsconfig.json added
"include": [
"src/tests/**/*.ts",
"src/**/*.ios.ts",
"src/**/*.android.ts",
"plugins/**/*.ts" <-- here
],
and rewritten the paths compatible with the version 7,8
