Skip to content

Project fails after Build complete #5

Closed

Description

@casvil

screen shot 2017-12-11 at 4 38 03 pm

node -v = 8.9.1
tried deleting node modules and reinstalling and did not work

any idea? Thanks!

Activity

  1. changed the title [-]Can't compile project[/-] [+]Project fails after Build complete[/+] on Dec 11, 2017
  2. casvil commented on Jan 3, 2018

    @casvil
    Author

    Still getting this error.

    I cloned your project @toddmotto and I get the same error.

    Thanks!

  3. toddmotto commented on Jan 3, 2018

    @toddmotto
    Contributor

    Hey @casvil ! Which folder were you using inside of the angular-pro-src? Some are slightly tweaked (webpack wise) for different examples - I can take a look and advise if you can provide that :)

  4. reopened this on Jan 3, 2018
  5. casvil commented on Jan 3, 2018

    @casvil
    Author

    @toddmotto hey todd! Thanks for helping, here it is my project https://github.com/casvil/angular-pro-src and here the webpack file https://github.com/casvil/angular-pro-src/blob/master/webpack.config.js

    My root folder is called app

    I am gonna try and check what's missing in my webpack config.

    Thanks!

  6. toddmotto commented on Jan 3, 2018

    @toddmotto
    Contributor

    Perfect, I think this error is to do with the aot loader in there. Try swapping it out with the one here in the webpack config, as this uses the official Angular one. The one previously used allows for AoT in development as well as production - sometimes an error occurs it seems so would be worth swapping that out. I'll make sure I update the rest of the source code with this addition as well :)

  7. casvil commented on Jan 3, 2018

    @casvil
    Author

    I get a different error Uncaught ReferenceError: webpackJsonp is not defined.
    I swapped the entire file, tweaking some base paths cause I'm not using src folder.

    I would really appreciate an update on this.

    Thanks @toddmotto !

  8. kasparsuvi1 commented on Jan 8, 2018

    @kasparsuvi1

    Hey!

    Getting the same error from folders of source code.
    Got error with "73-providers-usevalue", "47-route-tracking" and "80-observable-store", but not with "63-testing-setup".

    Tried with "ultimate/aot-loader" latest release, not helping.

    Can the problem be something alike like here? https://github.com/UltimateAngular/aot-loader/issues/16

    Looking forward to solution.
    Thanks!@toddmotto

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