thisissoon / angular-scrollspy

A simple lightweight library for Angular which automatically updates links to indicate the currently active section in the viewport
MIT License
35 stars 15 forks source link

package version issue #19

Closed woohaoshu closed 5 years ago

woohaoshu commented 5 years ago

My NPM version is 6.4.1, node version is v10.14.1, angular-cli version is 7.1.2.

When I execute npm install, I encountered the following problem: ERROR in node_modules/rxjs/internal/types.d.ts(81,44): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(81,74): error TS1005: ';' expected. node_modules/rxjs/internal/types.d.ts(81,77): error TS1109: Expression expected.

To solve this problem, I found this answer:

https://stackoverflow.com/a/54440099/8023266

So I changed package.json and it works. "rxjs": "6.2.0", "typescript": "^2.7.2",