Skip to content
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

Uncaught TypeError: TextDecoder is not a constructor #96

Open
tebeso opened this issue Oct 3, 2024 · 1 comment
Open

Uncaught TypeError: TextDecoder is not a constructor #96

tebeso opened this issue Oct 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@tebeso
Copy link

tebeso commented Oct 3, 2024

Scenario & Reproduction Steps

Using laravel 11 with vite, did the following steps

yarn add @1password/sdk and then added import { createClient } from "@1password/sdk";

Actual Behavior

When loading the page, without additional code that might use the createClient, i get Uncaught TypeError: TextDecoder is not a constructor

Expected Behavior

No response

SDK version

@1password/[email protected]

Additional information

Node Version 20

@tebeso tebeso added the bug Something isn't working label Oct 3, 2024
@nikhilofthesouth
Copy link

I ran into this as well. Doesn't look like browser clients are supported yet, just Node environments

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants