TS2307: Cannot find module '@replit/extensions/react' or its corresponding type declarations

I’ve been working on a Replit Extension template in Preact with SCSS and TypeScript.
I got this error and I’ve installed packages multiple times with both npm and yarn.
Without trying to import it, the extension code builds just fine.
Any ideas?

3 Likes

Did you try importing @replit/extensions?

3 Likes

Yeah, I tried that. It didn’t work.

2 Likes

Maybe ask using that proprietary thing (I have no other suggestions)

2 Likes

That’d probably be the best way to get an answer

2 Likes

For anyone wondering, the staff replied on Discord and said it’s a known issue that’s being worked on.

3 Likes

Hoping for an update from the team.
(cc @IroncladDev)

1 Like

In v0.33.0, this issue has been fixed. Please let me know if y’all run into any issues with it :+1:

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.