I'm following Backbase Frontend Essentials course on https://bbacademy.learnupon.com/ - and the task was to generate a data module with RAML (the RAML was provided). I downloaded the provided RAML, followed the tutorial, but when I went to view in the browser my terminal shows the following error:
ERROR in libs/exchange-rate-data/src/exchange-rate-data.service.ts(5,33): error TS2305: Module '"../../../node_modules/@backbase/foundation-ang/data-http/backbase-foundation-ang-data-http"' has no exported member 'HTTP_PARAMS_FACTORY'.
libs/exchange-rate-data/src/exchange-rate-data.service.ts(5,54): error TS2305: Module '"../../../node_modules/@backbase/foundation-ang/data-http/backbase-foundation-ang-data-http"' has no exported member 'HttpParamsFactory'.
I haven't touched this file. Here is what I have tried:
- Checked my Node Version - I'm on v10.18.1 (thought maybe an older version was the culprit) and my angular version is 8.
- Ran
npm install
andnpm update
to update /node modules - I checked
../../../node_modules/@backbase/foundation-ang/data-http/backbase-foundation-ang-data-http
and sure enough did not findHTTP_PARAMS_FACTORY
norHttpParamsFactory
- Checked Backbase documentation for
HTTP_PARAMS_FACTORY
andHttpParamsFactory
and its part of foundation-ang/data-http API.
I am new to backbase and think this error is coming from the code I was given in the tutorial but I am not sure. Any help would be appreciated.