a year ago
I want to deploy nodejs project which has one submodule but railway is not pulling the submodule. it worked fine with render.com
The log look like this error TS2307: Cannot find module '../../../myproject/submodule' or its corresponding type declarations.
10 Replies
a year ago
My Submoudle contains Drizzle ORM schema.
a year ago
Yes I have set my root directory
a year ago
You wouldn't be able to import anything outside of the set root directory, is this a shared monorepo?
a year ago
no this is not a monorepo this is a submodule
a year ago
is there any way to make submodule work in railway
10 months ago
Do not specify a root directory.
does this mean it should work when no root directory is set? we have set no root dir, but the submodule files are not there when deployed.