Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't use RainbowSDK with Angular 14 #34

Open
leolade opened this issue Oct 10, 2022 · 0 comments
Open

Can't use RainbowSDK with Angular 14 #34

leolade opened this issue Oct 10, 2022 · 0 comments

Comments

@leolade
Copy link

leolade commented Oct 10, 2022

After updating this simple project with Angular 14, the SDK doesn't start.

Context

I'm planning to use Rainbow on an Enterprise project. The project run on Angular 14. I'm facing an issue that prevents starting my Angular application.
So, I decided to test the SDK with minimal configuration, and I take this repo as an example.

Steps

  1. I simply update some dependencies to migrate Angular.
"dependencies": {
    "@angular/animations": "^14.2.0",
    "@angular/common": "^14.2.0",
    "@angular/compiler": "^14.2.0",
    "@angular/core": "^14.2.0",
    "@angular/forms": "^14.2.0",
    "@angular/platform-browser": "^14.2.0",
    "@angular/platform-browser-dynamic": "^14.2.0",
    "@angular/router": "^14.2.0",
    ......
},
"devDependencies": {
    "@angular-devkit/build-angular": "~14.2.0",
    "@angular/cli": "^14.2.0",
    "@angular/compiler-cli": "^14.2.0",
    "@angular/language-service": "^14.2.0",
    ......,
    "typescript": "~4.8.4"
}
  1. Run npm i

  2. Run ng serve

The build goes well, but at run time you have an error
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant