ngxs-labs/firestore-plugin

Error on implementation

jonathansigg opened this issue · 23 comments

I get an error when implementing this plugin:

Error: Cannot resolve type entity i2.ɵbc to symbol

Error: node_modules/@ngxs-labs/firestore-plugin/lib/ngxs-firestore.module.d.ts:9:106 - error TS2339: Property 'ɵbc' does not exist on type 'typeof import("/Users/chsb-sigg/dev/admin-poker/node_modules/@ngxs/store/ngxs-store")'.

9     static ɵmod: i0.ɵɵNgModuleDeclaration<NgxsFirestoreModule, never, [typeof i1.CommonModule, typeof i2.ɵbc], never>;```

hi,
what version of angular are you using?

image
image
Same thing happens to me, any suggestions?

what version of NGXS are you using? @marcos-velasquez

are you trying to use it as standalone components?

if you are able to provide a stackblitz with a repro that would be great

I tried to implement it on version 12. Because newer version wont work.
And neither with version 12...
It's really depressing.

@joaqcid can you check this out?

Yes i will take a look and let you know, been busy these last days

@joaqcid
Did you had time to check out.

@jonathansigg @marcos-velasquez downgrade @ngxs/store to version 3.7.3 and it will work

@joaqcid Is there no other solution as downgrade?

@jonathansigg yes there is, im working on it for the next release, hopefully it will go out soon

@joaqcid
The problem here is, i can't use ngxs@3.7.3 for angluar >= 14.0.0.
How long will you take for new release?

hmm that's weird, i was able to make it work with angular 15 and ngxs 3.7.3

@markwhitfeld do you know of any issue between ng >= 14 and ngxs 3.7.3?

ps, i cant give an exact date, but im trying to do it as soon as i can, i hope i can do it in the next weeek

@jonathansigg try updating to version 1.2.0, ngxs 3.7.6 should work now

Insira commented

@joaqcid I'm getting this error on angular 15.2.4

My Dependencies list.

"@angular/animations": "15.2.4",
"@angular/cdk": "15.2.4",
"@angular/common": "15.2.4",
"@angular/compiler": "15.2.4",
"@angular/core": "15.2.4",
"@angular/fire": "^7.5.0",
"@angular/forms": "15.2.4",
"@angular/material": "15.2.4",
"@angular/platform-browser": "15.2.4",
"@angular/platform-browser-dynamic": "15.2.4",
"@angular/router": "15.2.4",
"@ngneat/until-destroy": "^9.2.2",
"@ngxs-labs/entity-state": "^0.1.0",
"@ngxs-labs/firestore-plugin": "^1.2.0",
"@ngxs/logger-plugin": "^3.8.0",
"@ngxs/store": "^3.8.0",
"@sentry/angular": "^7.28.1",
"@sentry/integrations": "^7.28.1",
"rxjs": "7.8.0",
"tslib": "^2.3.0",
"zone.js": "0.12.0"

The error I'm getting.

.src/main.ts - Error: Module build failed (from ./node_modules/.pnpm/@ngtools+webpack@15.2.4_gaeoajpm3kpeqoe6vddtc3eksq/node_modules/@ngtools/webpack/src/ivy/index.js): Error: Cannot resolve type entity i2.ɵz to symbol

@Insira update to version 1.2.2, should work fine

Insira commented

@joaqcid updating to 1.2.2 worked. Thanks!

@joaqcid Whats the stand here now? any news?

@jonathansigg what's the issue you are having now?

@joaqcid I need this plugin run on Angular 14.0.0 and @ngxs/store 3.7.4

@jonathansigg have you updated to latest @ngxs-labs/firestore-plugin what version are you on?