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 angular 9.1.0 #182

Open
wuilmerj24 opened this issue Aug 18, 2020 · 3 comments
Open

Error angular 9.1.0 #182

wuilmerj24 opened this issue Aug 18, 2020 · 3 comments

Comments

@wuilmerj24
Copy link

Make sure to check the demo app(s) for sample usage

Make sure to check the existing issues in this repository

If the demo apps cannot help and there is no issue for your problem, tell us about it

Please, ensure your title is less than 63 characters long and starts with a capital
letter.

Which platform(s) does your issue occur on?

  • iOS/Android/Both android
  • iOS/Android versions android 6.5.0
  • emulator or device. What type of device?
    ambos

Please, provide the following version numbers that your issue occurs with:

  • CLI: (run tns --version to fetch it) 6.8.0
  • Cross-platform modules: (check the 'version' attribute in the
    node_modules/tns-core-modules/package.json file in your project) 6.5.0
  • Runtime(s): (look for the "tns-android" and "tns-ios" properties in the package.json file of your project) 6.5.0
  • Plugin(s): (look for the version numbers in the package.json file of your
    project and paste your dependencies and devDependencies here) nativescript-pager:^12.0.0-alpha.8

Please, tell us how to recreate the issue in as much detail as possible.

Describe the steps to reproduce it.

Is there any code involved?

  • provide a code example to recreate the problem
  • (EVEN BETTER) provide a .zip with application or refer to a repository with application where the problem is reproducible.
    Just create a project with angular 9.1.0. And add pager to app.module. Use a static view and it throws me the following error: ERROR Error: Uncaught (in promise): Error: This constructor is not compatible with Angular Dependency Injection because its dependency at index 0 of the parameter list is invalid.
    JS: This can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.
    JS:
    JS: Please check that 1) the type for the parameter at index 0 is correct and 2) the correct Angular decorators are defined for this class and its ancestors.
    JS: Error: This constructor is not compatible with Angular Dependency Injection because its dependency at index 0 of the parameter list is invalid.
    JS: This can happen if the dependency type is a primitive like a string or if an ancestor of this class is missing an Angular decorator.
    JS:
    JS: Please check that 1) the type for the parameter at index 0 is correct and 2) the correct Angular decorators are defined for this class and its ancestors.
    JS: at new ZoneAwareError (file: node_modules/@nativescript/angular/zone-js/dist/zone-nativescript.js:1298:0)
    JS: at ɵɵinvalidFactor...
@wuilmerj24
Copy link
Author

@triniwiz Hi. Sorry for the time, but I've been very busy. Here is an angular 9.1.0 project and the pager plugin here is an example repository. https://github.com/wuilmerj24/nativescriptpagerexample

@MariaC15
Copy link

Greetings, I have the same problem

@wuilmerj24
Copy link
Author

@triniwiz Have you been able to check?

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

2 participants