We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I just created a fresh Angular 14 project, and this is the error I see :
Error in /turbo_modules/ng-rive@0.1.3/fesm2015/ng-rive.mjs (910:134) Cannot access 'RiveStateMachine' before initialization
AppModule.ts
import { NgModule } from '@angular/core'; import { AppComponent } from './app.component'; import { RiveModule } from 'ng-rive'; import { CommonModule } from '@angular/common'; @NgModule({ imports: [CommonModule, RiveModule], declarations: [AppComponent], bootstrap: [AppComponent], }) export class AppModule {}
package.json
{ "name": "angular", "version": "0.0.0", "private": true, "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "test": "ng test", "lint": "ng lint", "e2e": "ng e2e" }, "dependencies": { "@angular/animations": "^14.0.0", "@angular/common": "^14.0.0", "@angular/compiler": "^14.0.0", "@angular/core": "^14.0.0", "@angular/forms": "^14.0.0", "@angular/platform-browser": "^14.0.0", "@angular/platform-browser-dynamic": "^14.0.0", "@angular/router": "^14.0.0", "ng-rive": "^0.1.3", "rxjs": "~7.5.0", "tslib": "^2.3.0", "zone.js": "~0.11.4" }, "devDependencies": { "@angular-devkit/build-angular": "^14.0.0", "@angular/cli": "~14.0.0", "@angular/compiler-cli": "^14.0.0", "@types/jasmine": "~4.0.0", "jasmine-core": "~4.1.0", "karma": "~6.3.0", "karma-chrome-launcher": "~3.1.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.0.0", "karma-jasmine-html-reporter": "~1.7.0", "typescript": "~4.7.2" }, "browser": { "fs": false, "path": false } }
The text was updated successfully, but these errors were encountered:
43b2ef3
Merge pull request #33 from sviat9440/fix/29-cannot-access-before-ini…
3875ff3
…tialization fix #29 cannot access RiveStateMachine before initialization
No branches or pull requests
Hi, I just created a fresh Angular 14 project, and this is the error I see :
Error in /turbo_modules/ng-rive@0.1.3/fesm2015/ng-rive.mjs (910:134) Cannot access 'RiveStateMachine' before initialization
AppModule.ts
package.json
The text was updated successfully, but these errors were encountered: