angular SSR using @nguniversal/express-engine package get this error (ERROR in error TS6053: File '/project/src/server.ngtypecheck.ts' not found.)
See original GitHub issueI 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/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! client@0.0.0 build:ssr: ng build --prod && ng run client:server:production
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the client@0.0.0 build:ssr script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.```
Issue Analytics
- State:
- Created 3 years ago
- Reactions:5
- Comments:6
Top Results From Across the Web
File '/project/src/server.ngtypecheck.ts' not found.) - Stack ...
angular SSR using @nguniversal/express-engine package get this error (ERROR in error TS6053: File '/project/src/server.ngtypecheck.ts' not found ...
Read more >[Solved]-Upgrade angular 7 to 8, ERROR - appsloveworld.com
angular SSR using @nguniversal/express-engine package get this error (ERROR in error TS6053: File '/project/src/server.ngtypecheck.ts' not found.) ... Angular 9 " ...
Read more >File '/project/src/server.ngtypecheck.ts' not found. - Bountysource
angular SSR using @nguniversal/express-engine package get this error (ERROR in error TS6053: File '/project/src/server.ngtypecheck.ts' not found ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@urukai @rokulis finaly problem solved.
Navigate to
src/tsconfig.server.json
Change
src/main.server.ts
tomain.server.ts
, Changeserver.ts
to../server.ts
link
Same here. @mnfi3: Have you found a solution?