codesandbox - Cannot find module PACKAGE or its corresponding type declarations

Viewed 82

I built and released a npm package called schemez. On my local system via vscode, it works great with no errors and plenty of Typescript support. On codesandbox, its erroring out with Cannot find module 'schemez' or its corresponding type declarations.ts(2307) even though the code is compiling.

Sample - https://codesandbox.io/s/fluent-json-schema-vs-schemez-vs-typebox-645s2j

Why is this occurring?

0 Answers
Related