question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

apollo-angular doesn't work with Angular Universal using ts-node

See original GitHub issue

apollo-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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
kamilkisielacommented, Aug 21, 2018

@nicky-lenaers @bojidaryovchev @ravishivt Could you check v1.2.0? We switched to use ng-packagr so it nows contains flat modules etc.

0reactions
kamilkisielacommented, Aug 28, 2018
Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found