Skip to content

Excluding FS module in non-NodeJS environments #248

@ninjz

Description

@ninjz

In relation to #220

@narengogi 's comment about:

the check could be
isNode() instead of isRunningInBrowser()
or isFsModuleAvailable() because there can be polyfills

I think this could be the reason why this sdk fails to work within Convex's native actions. Right now I have to fallback to using their nodejs runtime to have this SDK work which is not ideal.

Would be nice to see this SDK support runtimes which don't have FS support.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions