Closed rhday74 closed 7 years ago
How could I recreate this? Are you calling any custom code?
Could you push a small demo with a similar setup to github?
tell you what I'll do. I'll start adding in the extra stuff that I'm using like redux, immutable-js, ng2-translate to the tabs starter project (that's what I built my app off of) until it breaks. Probably the easiest way to track down the culprit without throwing all my app code at you. I'll try and get to it the next couple of days.
I did some tweaking to the tabs starter project with RC 5 and couldn't break it so it's gotta be one of those extra dependencies I'm using that's being a jerk >.<
just search toISOString()
in your project. It is a moment function, so it's either something you wrote, or it could be the datepicker component.
that was my initial thought but unfortunately I'm not using moment in the app yet :/ there's no imports of it anywhere, not yet at least. Not mucking with any Ionic DateTime stuff yet either.
Hello all! Because this cannot be reproduced tabs starter and it seems to be an error in one of the deps of @rhday74 's app I am going to close this one for now. If it does end up being an Ionic issue feel free to comment and we will happily reopen. Thanks!
sorry, real life happened....consulting gig I'm on exploded so been glued to the macbook billing hours. I'll revisit this when I come up for air and figure out what deps exactly is a problem.
Possibly related to https://github.com/ngrx/platform/issues/61
Figured out that this error (for me, anyway) was due to a store property that couldn't be serialized, possibly due to circular references. I didn't have luck with creating a custom serializer - I ended up refactoring code to make this object available in a provider instead of a store.
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.
Ionic version: (check one with "x") [x] 2.x
I'm submitting a ... (check one with "x") [x] bug report
Current behavior: using ionic:serve with RC 5 I get the following error at runtime:
Related code:
current package.json is as follows:
Other information: got the latest Ionic CLI installed globally. Pretty sure I nailed the dependency versions. Only other thing I have that isn't stock is I've moved the location of the
main.ts
file and modified sourcemaps:Ionic info: (run
ionic info
from a terminal/cmd prompt and paste output below):Error Stacktrace: