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
{{ message }}
Repository navigation
Cannot find module @opencode-ai/sdk@latest when moduleResolution=nodenext #1663
My tsconfig declare moduleResolution=nodenext and the sdk's package.type was delcare as module in package.json, and It must be import file with .js extension
It should change type to commonjs from module or append the extension with .js
changed the title [-]Cannot find module @opencode-ai/sdk@latest[/-][+]Cannot find module @opencode-ai/sdk@latest when moduleResolution=nodenext[/+]on Aug 7, 2025
Activity
[-]Cannot find module @opencode-ai/sdk@latest[/-][+]Cannot find module @opencode-ai/sdk@latest when moduleResolution=nodenext[/+]thdxr commentedon Aug 7, 2025
we need to fix our build process