You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I work in a company using Piwik on our angular for analytics purpose.
I have just upgraded to the latest version of the package on one of our project (npm install @piwikpro/ngx-piwik-pro@latest) and when I run ng serve I get errors: X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
Install the latest version of the plugin: npm install @piwikpro/ngx-piwik-pro@latest ;
Import NgxPiwikProModule in your appConfig; add the line bellow to appConfig.providers array: importProvidersFrom( NgxPiwikProModule.forRoot('my-id', 'my-container-url') )
Run ng serve
Console output:
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
Hi @ClementBu thank you for reporting the issue. While we work on the solution, can you try adding@piwikpro/tracking-base-library manually as temporary fix? npm i @piwikpro/tracking-base-library
Hello,
I work in a company using Piwik on our angular for analytics purpose.
I have just upgraded to the latest version of the package on one of our project (npm install @piwikpro/ngx-piwik-pro@latest) and when I run ng serve I get errors:
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
Steps to reproduce
(Environment: node 20.9.0 / npm 10.1.0 / Angular CLI 17.3.9)
ng new test-piwik
;npm install @piwikpro/ngx-piwik-pro@latest
;importProvidersFrom( NgxPiwikProModule.forRoot('my-id', 'my-container-url') )
Console output:
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
X [ERROR] TS2307: Cannot find module '@piwikpro/tracking-base-library' or its corresponding type declarations. [plugin angular-compiler]
Thanks for your help!
Best regards,
Clément
The text was updated successfully, but these errors were encountered: