Skip to content

error while deploying to github-pages #4812

Closed

Description

@gkucmierz

I don`t want to repeat myself.
Here is the problem with github-pages:deploy

http://stackoverflow.com/questions/42306569/angular2-ngrx-error-while-deploying-to-github-pages

What can cause this issue?
How to solve it?

Activity

  1. equinox commented on Feb 18, 2017

    @equinox
    Contributor

    That command has been removed as of 1.0.0-beta.31, you may want to look into the suggested alternatives from this thread here.

  2. gkucmierz commented on Feb 18, 2017

    @gkucmierz
    Author

    Otherwise app dont want to build.

    zrzut ekranu 2017-02-18 o 15 05 56

  3. clydin commented on Feb 18, 2017

    @clydin
    Member

    Please try updating to the latest version. If the issue persists, please open another issue with the full template details so that we can further assist you.

  4. gkucmierz commented on Feb 18, 2017

    @gkucmierz
    Author

    Ok, let me update ng-cli

  5. JohannesHoppe commented on Feb 20, 2017

    @JohannesHoppe
    Contributor

    The error message

    ERROR in 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 12:42 in the original .ts file),
    resolving symbol compose in /Users/gkucmierz/learn/coin-tools/node_modules/@ngrx/core/compose.d.ts,
    resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts,
    resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts,
    resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts,
    resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts,
    resolving symbol AppModule in /Users/gkucmierz/learn/coin-tools/src/app/app.module.ts
    

    is pretty clear. You have to make your code statically analyzable for AoT.
    See here: https://medium.com/@isaacplmann/making-your-angular-2-library-statically-analyzable-for-aot-e1c6f3ebedd5#.3ipjxwp1z
    This error has nothing to do with github pages.

    This builds your code in JIT mode: ng build
    And this in AOT mode: ng build --aot
    The github-pages:deploy command was doing AOT builds.

  6. angular-automatic-lock-bot commented on Sep 6, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  7. locked and limited conversation to collaborators on Sep 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions