在我的package.json文件中-
"dependencies": {
"@angular/animations": "~7.2.0",
"@angular/common": "~7.2.0",
"@angular/compiler": "~7.2.0",
"@angular/core": "~7.2.0",
"@angular/forms": "~7.2.0",
"@angular/platform-browser": "~7.2.0",
"@angular/platform-browser-dynamic": "~7.2.0",
"@angular/router": "~7.2.0",
"core-js": "^2.5.4",
"rxjs": "~6.3.3",
"rxjs-compat": "^6.5.1",
"tslib": "^1.9.0",
"zone.js": "~0.8.26"
},
我已具备上述条件。如何将“ rxjs-compat”版本更改为“〜6.3.3”
答案 0 :(得分:0)
您应该先使用npm卸载相关软件包:npm uninstall rxjs-compat
,然后使用npm install rxjs-compat@6.3.3