You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@ethos-seth Thanks for flagging this issue. We realize our export syntax does not work for ESM and are planning to address it. In the meantime, i'd recommend using the following import syntax import { default as Statsig } from 'statsig-node'
@kenny-statsig Do you have any sort of timeline on a fix for this issue? We've been bitten by this a couple of times already and would really appreciate it if there weren't obvious footguns and the typescript types matched what node is expecting.
Hey folks, I have a project I just migrated to ESM and the the statsig client is giving me some trouble.
I put together a small sample project to demonstrate the issue I'm having: https://github.com/ethos-seth/statsig-esm-demo
It shows import two approaches:
Each fails in their own way.
I suspect it might have something to do with:
The text was updated successfully, but these errors were encountered: