Git Product home page Git Product logo

Comments (8)

riede avatar riede commented on June 3, 2024 2

Same for me. Using --source-map shows the following error:

core.js.pre-build-optimizer.js:15714 ERROR TypeError: Cannot read property '__source' of undefined
    at t.get (core.js.pre-build-optimizer.js:8984)
    at sg (core.js.pre-build-optimizer.js:21120)
    at t.get (core.js.pre-build-optimizer.js:21809)
    at Le (core.js.pre-build-optimizer.js:1772)
    at Ae (core.js.pre-build-optimizer.js:1777)
    at Re (core.js.pre-build-optimizer.js:1829)
    at core.js.pre-build-optimizer.js:15509
    at core.js.pre-build-optimizer.js:21182
    at ug (core.js.pre-build-optimizer.js:21140)
    at sg (core.js.pre-build-optimizer.js:21115)

I could localize the problem a little bit more. Everything works fine using Angular 7.2.2. The error occurs until Angular 7.2.3 (incl. Angular 7.2.5 that was released on 15 Feb 2019).

I created a little repro-app repository that shows the error:
https://github.com/riede/anguluar-2-local-storage-repro-app

from angular-2-local-storage.

phenomnomnominal avatar phenomnomnominal commented on June 3, 2024 2

Thank you for the repro - I'm having a dig into this now but not really getting anywhere! I thought it might be because I'm using a string to inject the config, but I fixed that and now I'm getting AOT errors... I'll keep digging, but would very much appreciate a PR if anyone can figure out a fix.

from angular-2-local-storage.

phenomnomnominal avatar phenomnomnominal commented on June 3, 2024 2

Merged the PR, released at 3.0.2 πŸŽ‰

from angular-2-local-storage.

riede avatar riede commented on June 3, 2024

In the Test-Repo I created a new branch with a basic implementation of a module that uses string injection like you do. But everything works fine. So this is not the troubling part.

from angular-2-local-storage.

riede avatar riede commented on June 3, 2024

I think I've got a solution for our problem. I've created a new branch but I can not push it. Please set the correct rights so I can push my branch and create a Pull Request of my solution.

from angular-2-local-storage.

phenomnomnominal avatar phenomnomnominal commented on June 3, 2024

Did you create a fork? I'm not sure what permissions I'm meant to set.

from angular-2-local-storage.

riede avatar riede commented on June 3, 2024

Ahh I donβ€˜t create a fork just cloned the repo and want to push the new branch. I will do a fork tomorrow.

EDIT: Here is my Fix ↓

from angular-2-local-storage.

felipefialho avatar felipefialho commented on June 3, 2024

Tks!

from angular-2-local-storage.

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.