a year ago
while deploting my nestjs project on multiple platforms! i am facing this issue!?:
Error: Command "npm run build" exited with 1
src/user/user.service.ts:4:36 - error TS2307: Cannot find module '../schemas/user.schema' or its corresponding type declarations.
4 import { User, UserDocument } from '../schemas/user.schema';
the '../schemas/user.schema' part is the issue!
i did build and run npm run start:dev and npm run start:prod and both are working on my local machine! but not in the hosting service!? why can this issue exist?
ⓘ Deployment information is only viewable by project members and Railway employees.
1 Replies
a year ago
The linked service was deleted, this significantly hinders our ability to provide support.
If you still need support, please open a new help thread.
Status changed to Closed brody • over 1 year ago