Skip to content

Conversation

@AlejandroArcoPu
Copy link

@AlejandroArcoPu AlejandroArcoPu commented Oct 28, 2025

What this PR does

Fixes the Zod runtime error (0, n.z).string is not a function in Plasmo dev and build modes.

How to test

  1. Run pnpm run dev and ensure no Zod errors occur.
  2. Build the extension and load the unpacked build — confirm no runtime crashes.

After the change, it is all working properly:

image

Related issue

Closes #110

@ayoung19
Copy link
Collaborator

Oh really interesting that this fixes it. I'll take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Zod schemas fail with “(0, n.z).string is not a function” when running plasmo dev or plasmo build

2 participants