angular / in-memory-web-api

The code for this project has moved to the angular/angular repo. This repo is now archived.
MIT License
1.18k stars 232 forks source link

Please make this module compatible with angular : 6.0.0-rc.0 and rxjs 6.0.0-beta.1 #184

Closed xmlking closed 6 years ago

xmlking commented 6 years ago

Please make this module compatible with angular : 6.0.0-rc.0 and rxjs 6.0.0-beta.1 Most of the other 3rd party libs are compatible after adding "rxjs-compat": "^6.0.0-beta.1", expect in-memory-web-api

  "dependencies": {
    "@agm/core": "^1.0.0-beta.2",
    "@angular/animations": "^6.0.0-rc.0",
    "@angular/common": "^6.0.0-rc.0",
    "@angular/compiler": "^6.0.0-rc.0",
    "@angular/core": "^6.0.0-rc.0",
    "@angular/forms": "^6.0.0-rc.0",
    "@angular/platform-browser": "^6.0.0-rc.0",
    "@angular/platform-browser-dynamic": "^6.0.0-rc.0",
    "@angular/router": "^6.0.0-rc.0",
    "@angular/service-worker": "^6.0.0-rc.0",
    "angular-in-memory-web-api": "^0.5.4",
    "core-js": "^2.4.1",
    "rxjs": "^6.0.0-beta.1",
    "rxjs-compat": "^6.0.0-beta.1",
    "zone.js": "^0.8.19"
  },

Errors

ERROR in ./node_modules/angular-in-memory-web-api/backend.service.js
Module not found: Error: Can't resolve 'rxjs/operator/concatMap' in '/myapp/node_modules/angular-in-memory-web-api'
ERROR in ./node_modules/angular-in-memory-web-api/backend.service.js
Module not found: Error: Can't resolve 'rxjs/operator/first' in '/myapp/node_modules/angular-in-memory-web-api'
ERROR in ./node_modules/angular-in-memory-web-api/http-client-backend.service.js
Module not found: Error: Can't resolve 'rxjs/operator/map' in '/myapp/node_modules/angular-in-memory-web-api'
ERROR in ./node_modules/angular-in-memory-web-api/http-backend.service.js
Module not found: Error: Can't resolve 'rxjs/operator/map' in '/myapp/node_modules/angular-in-memory-web-api'
ERROR in ./node_modules/angular-in-memory-web-api/backend.service.js
Module not found: Error: Can't resolve 'rxjs/util/isPromise' in '/myapp/node_modules/angular-in-memory-web-api'