[keycloak-user] Angular 2 with Webpack

Brian Schofield scope022 at gmail.com
Mon Jan 30 10:07:45 EST 2017


I will get both of you a error trace.

I had sometime this weekend to fiddle with some barebones
angular2-webpack/systemjs projects using Ebondu's lib and could not get it
running with either bundlers.

@Ebondu, were there some additional installation steps you used to get your
lib up and running?  I attempted to map your lib in systemjs because I was
getting 404 during bundling, but it only lead to systemjs not being able to
identify any of the keycloak.*.js modules.

I will admit, not extremely proficient in systemjs but I wanted to try and
get something working so I could figure out how to port it into webpack.

@Stan Today, I'm going to be trying Keycloak's demo again using webpack.  I
will say that when I tried last Friday I would get json.parse errors within
keycloak.js.  We were seeing the request response returning straight html
which makes sense why the error was occuring.  I'll let you know if I have
any updates on that today.

Thanks for your help.

-other Brian





On Fri, Jan 27, 2017 at 4:19 PM, ebondu <dev.ebondu at gmail.com> wrote:

> Brian,
>
> Let me know if you have any debug/error trace. For now I focused on the
> migration from JS to Typescript, so the configuration/use may be tricky.
> However as I can use it in a webpack based angular2 app the lib should fit
> your need.
>
>
>
> --
> View this message in context: http://keycloak-user.88327.x6.
> nabble.com/keycloak-user-Angular-2-with-Webpack-tp2493p2500.html
> Sent from the keycloak-user mailing list archive at Nabble.com.
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>



-- 
Brian §chofield


More information about the keycloak-user mailing list