apollo-angular doesn't work with Angular Universal using ts-node
See original GitHub issueapollo-angular contains import
and export
statements in the published npm package (v1.0.1). These import
/export
statements break Angular Universal when starting the server with ts-node.
SyntaxError: Unexpected token import
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:13 (7 by maintainers)
Top Results From Across the Web
apollo-angular doesn't work with Angular Universal using ts ...
I found out why it wasn't working. I was using ts-node to compile and run my Angular Universal server.ts but ts-node doesn't compile...
Read more >apollo-angular doesn't work with Angular Universal using ts-node
apollo -angular doesn't work with Angular Universal using ts-node ... apollo-angular contains import and export statements in the published npm package (v1.0.1).
Read more >"ApolloError: Network error" in SSR Angular Universal, apollo ...
Every time I fetch data in component by apollo-angular in builded app, error below pop up and crash it. I don't really know...
Read more >apollo-angular - npm
Apollo Angular allows you to fetch data from your GraphQL server and use it in building complex and reactive UIs using the Angular...
Read more >How to use Strapi with Angular Universal Apps
First, you'll set up a Strapi server. Then you will create an Angular Universal app that will consume data from Strapi. Prerequisites. Before ......
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 FreeTop 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
Top GitHub Comments
@nicky-lenaers @bojidaryovchev @ravishivt Could you check v1.2.0? We switched to use
ng-packagr
so it nows contains flat modules etc.I guess I can close it https://github.com/kamilkisiela/apollo-angular-ssr/tree/ts-node