npm run build:ssr does not work in angular 8

后端 未结 3 2105
旧时难觅i
旧时难觅i 2021-02-20 18:12

I use angular 8 and server-side-rendering but i got error when i run npm run build:ssr As you can see, src is repeated twice home/app/front/**src

3条回答
  •  清歌不尽
    2021-02-20 18:25

    I had the same error. This is how i solved it:

    In src/tsconfig.server.json

    Change src/main.server.ts to main.server.ts

提交回复
热议问题