Open ClementBu opened 2 months ago
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
Hi @auto200,
Thank you for your reply. your fix npm i @piwikpro/tracking-base-library
did the job 👍
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