Skip to content

Import error with Universal Starter and tsc #323

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
SoftwareAndOutsourcing opened this issue Aug 24, 2018 · 5 comments
Closed

Import error with Universal Starter and tsc #323

SoftwareAndOutsourcing opened this issue Aug 24, 2018 · 5 comments

Comments

@SoftwareAndOutsourcing
Copy link

Hi,

After upgrading my project to the latest Universal Starter version I'm getting an Unexpected token import with server side rendering.

Seems this is related to angular/universal-starter#626 as it worked fine with Webpack and to #212.

I can provide a sample repository if needed.

Thanks.

@SoftwareAndOutsourcing SoftwareAndOutsourcing changed the title Import error Universal Starter and tsc Import error with Universal Starter and tsc Aug 24, 2018
@Nolanus
Copy link
Owner

Nolanus commented Sep 18, 2018

I'm currently moving this module to be build with ng-packagr support from angular/cli. This should increase the compatibility of the generated packages in various environments.
Unfortunately I can't give an estimation when it will be done...

@sebastianhaeni
Copy link

This makes this otherwise great package unusable for people using @angular/universal.

If anybody is looking for an alternative library, I've migrated to ngx-scroll-to with success. The only thing I'm missing is a global config.

@Mysame
Copy link

Mysame commented Dec 7, 2018

Fastest way to reproduce is adding ngx-page-scroll to https://github.com/enten/angular-universal .

@Nolanus
Copy link
Owner

Nolanus commented Jan 23, 2019

Version 6 ngx-page-scroll should support SSR. Appreciating your feedback!

@arun-maddheshia
Copy link

@Nolanus thanx its work perfectly 🎉

@Nolanus Nolanus closed this as completed Mar 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants