vyakymenko / angular-seed-express

[DEPRECATED, Please use https://github.com/vyakymenko/angular-express] Extensible, reliable and modular starter project for Angular 7 with statically typed build AoT compilation, Express server and PM2 Daemon.

Home Page:https://github.com/vyakymenko/angular-seed-express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

We are unable to build production for angular-seed-express 4.2.3

Collaborator3 opened this issue · comments

I build production successfully, but got this error in browser console.

VM83802 shims.js?1505822365078:1 Uncaught SyntaxError: Unexpected token <
VM83803 app.js?1505822365079:1 Uncaught SyntaxError: Unexpected token <

Hi, @AbhijeetGiram , are you using the latest version? Any additional packages? OS? NPM version? Node.js version ?

Hello @vyakymenko
OS: Windows 8
NPM: 4.2.0
Node: v6.9.4
Yes additional packages are there.
But I have solved it. I was unable to build production because of some path error in "index.ts" and it solved.
BTW @vyakymenko
does angular 4.2.3 seed express supports angular universal feature? If not how can we configure it.

Hi @AbhijeetGiram , I think you need to read a little bit more about Angular Universal. It's a server-side rendering. And not a seed issue, thanks.