Closed andrefarzat closed 5 years ago
I can reproduce this error and confirm that downgrading ngx-page-scroll-core
to 6.0.0
fixes this issue.
Regarding the diff: https://github.com/Nolanus/ngx-page-scroll/compare/v6.0.0...v6.0.1 the main difference is the angular version which now is 8.x
I will downgrade to 6.0.0 ( forcing it on package.json ) while this isn't fixed
Hi,
v5 of ngx-page-scroll is still available via npm and can be installed via npm install ngx-page-scroll@5.0.1
.
Cause for the reported problem is a change in the compiled bundles which I overlooked (see https://github.com/angular/angular/issues/30413). I'll release a new v6 version compiled using angular 7 tools shortly to fix this.
@andrefarzat, please check the behaviour with library v6.0.2
and let me know whether it's working.
Once the versions 5.x were unpublished from npm, we needed to upgrade to 6.x Following the small tutorial from the README.md, we are facing this issue (both on mac and windows machines):
The package.json is here: https://pastebin.com/uFgVXJH4
Digging on the code, if we change from
ɵɵdefineInjectable
todefineInjectable
and fromɵɵinject
toinject
the code works. Can you see why this is happening ?