GithubHelp home page GithubHelp logo

Comments (10)

nicky-lenaers avatar nicky-lenaers commented on May 13, 2024 1

@jacobedawson @jimmy-tfp I'm working on this issue. Will be resolved soon!

from ngx-scroll-to.

nicky-lenaers avatar nicky-lenaers commented on May 13, 2024

Hi @jimmy-tfp, thank you for submitting your issue. I will be investigating this soon!

from ngx-scroll-to.

jacobedawson avatar jacobedawson commented on May 13, 2024

@nicky-lenaers I just ran into this issue as well - the error only came up while building for SSR, same error as what @jimmy-tfp reported.

Thanks for your work on the module but I would say until this issue is resolved you might want to remove the mention on the repo homepage that this module works with SSR.

from ngx-scroll-to.

jacobedawson avatar jacobedawson commented on May 13, 2024

@nicky-lenaers thanks for your effort dude, in all other aspects it's a great module :)

from ngx-scroll-to.

nicky-lenaers avatar nicky-lenaers commented on May 13, 2024

@jacobedawson @jimmy-tfp I did a full repo overhaul to enforce a package called ng-packagr. This module should package everything up properly. I just release 0.4.0-alpha.3, which includes support for SSR builds. I tested it on my own repo and it works.

I'd like to get your feedback on whether it works or not.

Thanks, your feedback is much appreciated!

from ngx-scroll-to.

jacobedawson avatar jacobedawson commented on May 13, 2024

Hi @nicky-lenaers - I just installed 0.4.0-alpha.3 and I got this error during compilation (no other changes made - just installed ngx-scroll-to, added imports in module.ts, set up the service from this repo):

 ERROR in Error: Error encountered resolving symbol values statically. Function calls are not supported. Consider replacing the function or lambda with a reference to an exported function (position 194:50 in the original .ts file), resolving symbol NgModule in ... etc

from ngx-scroll-to.

nicky-lenaers avatar nicky-lenaers commented on May 13, 2024

@jacobedawson Thank you for reporting this. I came across quiet a hot issue topic that references this issue. It seems there could be multiple factors that cause this error. Even outside of the scope of this module. The fact that I have a working example in a repo confirms that.

I'd really like to help you with this. Do you mind setting up a small example repo or plunkr with your setup (or share the repo you already have if possible), so I'm able to properly figure out what causes this error?

Thanks in advance.

from ngx-scroll-to.

jacobedawson avatar jacobedawson commented on May 13, 2024

@nicky-lenaers yo dude - sure thing, will have a look tomo morning (bedtime in berlin...zzz) and get back to you, cheers!

from ngx-scroll-to.

nicky-lenaers avatar nicky-lenaers commented on May 13, 2024

Sure man, same thing in your neighbor Netherlands :-) let me know when you got something!

from ngx-scroll-to.

nicky-lenaers avatar nicky-lenaers commented on May 13, 2024

@jacobedawson I've been doing research into this issue. It seems to not be related to this module specifically. My suggestion is to check your installed versions of Angular itself and go through topics that address your issue.

Thanks again for your feedback, this is much appreciated!

Closing this issue due to irrelevance to the module.

from ngx-scroll-to.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.