Comments (10)
@jacobedawson @jimmy-tfp I'm working on this issue. Will be resolved soon!
from ngx-scroll-to.
Hi @jimmy-tfp, thank you for submitting your issue. I will be investigating this soon!
from ngx-scroll-to.
@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.
@nicky-lenaers thanks for your effort dude, in all other aspects it's a great module :)
from ngx-scroll-to.
@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.
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.
@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.
@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.
Sure man, same thing in your neighbor Netherlands :-) let me know when you got something!
from ngx-scroll-to.
@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)
- scroll-to.service.ts imports from 'rxjs/index'
- Scroll to child div not working. HOT 6
- Make compatible with Angular 7 HOT 4
- ScrollTo is not working with body/windows container and target wrapped by a container with relative position HOT 3
- Missing ScrollToEvent class in public_api HOT 2
- Zoom - wrong position. HOT 3
- iOS doesnt scroll, it jumps to the specified div id. HOT 1
- Make compatible with Angular 8 HOT 7
- ISSUE, scroll-to incomplete
- Having issue with Google Chrome
- CI process fails
- Issues with Angular 8 while building. HOT 3
- 9.0.0 release broken in IE11 HOT 3
- How to listen / subscribe to animation finished HOT 2
- angular 10+ support HOT 21
- Angular 12 Support HOT 3
- Doesn't work on mobile view HOT 1
- Support for Angular 15 HOT 3
- Support for Angular 16 HOT 6
- Support for Angular 16+
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx-scroll-to.