In the upgrade process from update.angular.io:
Remove deprecated RxJS 6 features using rxjs-tslint auto update rules.
For most applications this will mean running the following two commands:
npm install -g rxjs-tslint rxjs-5-to-6-migrate -p src/tsconfig.app.json
But when I follow these steps and run rxjs-5-to-6-migrate -p src/tsconfig.app.json
I'm getting the error:
rxjs-5-to-6-migrate: command not found
Is there any reason why this command isn't working?
I did get it working and my steps are the following:
rxjs-tslint
locally - cd YOUR_PROJECT_DIR && npm i rxjs-tslint
.node_modules/.bin/rxjs-5-to-6-migrate -p PATH_TO_YOUR_TSCONFIG.json
.rxjs-tslint/node_modules/.bin/tslint: not found
, then do cd node_modules/rxjs-tslint && npm install
and repeat the step 2.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With