Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in Nativescript 7.3.0 and angular 11.2.5 #160

Open
jitendraP-ashutec opened this issue May 19, 2021 · 2 comments
Open

Error in Nativescript 7.3.0 and angular 11.2.5 #160

jitendraP-ashutec opened this issue May 19, 2021 · 2 comments

Comments

@jitendraP-ashutec
Copy link

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

@swissdude
Copy link

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.

@Bezlepkin
Copy link

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
2021-07-07_17-06-24

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants