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

Property 'forRoot' does not exist on type 'typeof MatomoModule' #55

Closed
freedbrd opened this issue May 19, 2021 · 2 comments
Closed

Property 'forRoot' does not exist on type 'typeof MatomoModule' #55

freedbrd opened this issue May 19, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@freedbrd
Copy link

I faced the issue when I installed the ngx-module and tried to import this one.

image

@freedbrd
Copy link
Author

freedbrd commented May 19, 2021

Angular CLI: 9.1.12
Node: 14.15.4
OS: win32 x64

Angular: 9.1.12
... animations, cli, common, compiler, compiler-cli, core, forms
... localize, platform-browser, platform-browser-dynamic, router
Ivy Workspace: Yes

Package Version

@angular-devkit/architect 0.901.12
@angular-devkit/build-angular 0.901.12
@angular-devkit/build-optimizer 0.901.12
@angular-devkit/build-webpack 0.901.12
@angular-devkit/core 9.1.12
@angular-devkit/schematics 9.1.12
@angular/cdk 9.2.4
@angular/material 9.2.4
@ngtools/webpack 9.1.12
@schematics/angular 9.1.12
@schematics/update 0.901.12
rxjs 6.5.5
typescript 3.8.3
webpack 4.42.0

"ngx-matomo": "^0.1.4",

@Arnaud73
Copy link
Owner

The reason is simple: you read the README on Github which already speaks about the new release which is not yet published as the latest release on NPM (it is still a release candidate).

Since you are using Angular 9, I'd suggest you go with version 1.0.0-rc.0 (https://www.npmjs.com/package/ngx-matomo/v/1.0.0-rc.0) which supports this platform.

Don't bother to use 0.1.4 since it is now mostly outdated for new Angular applications.

@Arnaud73 Arnaud73 self-assigned this May 19, 2021
@Arnaud73 Arnaud73 added the question Further information is requested label May 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants