I am using @nguniversal/express-engine to Server Side Rendering in angular.When I run $ npm build:ssr or $ npm run dev:ssr i get this error.
```error TS6053: File 'C:/dev/web/workspace/project/src/server.ts' not found.
error TS6053: File 'C:/dev/web/workspace/project/src/src/main.server.ngtypecheck.ts' not found.
error TS6053: File 'C:/dev/web/workspace/project/src/src/main.server.ts' not found.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build:ssr: ng build --prod && ng run client:server:production
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build:ssr script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.```
Same here. @mnfi3: Have you found a solution?
@urukai Unfortunately not yet
have someone found the solution @urukai @mnfi3
@rokulis not yet
@urukai @rokulis
finaly problem solved.
Navigate to src/tsconfig.server.json
Change src/main.server.ts to main.server.ts,
Change server.ts to ../server.ts
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
@urukai @rokulis
finaly problem solved.
Navigate to
src/tsconfig.server.jsonChange
src/main.server.tstomain.server.ts,Change
server.tsto../server.tslink