Hello world project to test jaredpalmer/tsdx compatibility with Zeit/Now.
Project works on my development with now dev
. It fails on production when deployed with now
on the build step.
The error is "Cannot find module".
Dependency required is from public GitHub repository https://github.com/cibulka/tsdx-test.
Whether the repo is private or public, the error is the same. The error does not happen if the dependency is not built with TSDX (see react-typed
).
The dependency in question will be private GitHub repo (after we find what is causing the problem), so I don't require it from npm. I require it with <user>/<repo>
from GitHub pattern as described here.
I also require react-typed similar way. If I require just that, deployment works.