-
Notifications
You must be signed in to change notification settings - Fork 42
Cannot find module './evaluation-context' or its corresponding type declarations. #283
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
Comments
Hi @ramtinsoltani , can you please confirm which version of the client you are using? |
@tiagoapolo @matthewelwell I just updated to the latest version 9.0.1 (was using 9.0.0 previously) and the problem is still there when running the application using
I'm using |
Hi @ramtinsoltani although I cannot replicate this in an angular project, I can see why it would occur. Also you are correct to question the evaluation context - we've un-deprecated its predecessors whilst we document it further. If you're able, could you confirm that flagsmith@9.0.2-beta.1 resolves your issue? This version will also un-deprecate the fields mentioned as they were missed in our previous build. Thanks |
@kyle-ssg Thank you for your response. I just tried flagsmith@9.0.2-beta.1 and the Angular build went through successfully. |
@ramtinsoltani This is now released in flagsmith@9.0.2, thanks for raising! |
I'm trying to setup Flagsmith in my Angular project and I cannot get the project compiled after installing
flagsmith
package from NPM and initializing it like below after following the documentation:The error is:
I can't find
evaluation-context.ts
in the installed package, but I see it in this repository. This is the documentation I have followed: https://docs.flagsmith.com/clients/javascriptAny idea why I'm getting this error and why this file is missing from the NPM package? I have tried the latest version as well as v8.* to no avail.
I'm also a bit confused about the documentation as the NPM package has marked
environmentID
inIInitConfig
interface deprecated (@deprecated — Please consider using evaluationContext.identity: IInitConfig.evaluationContext.
) while I can't find anything in the documentation about this.The text was updated successfully, but these errors were encountered: