core 2.0 web api with angular client auth0 configuration

I’m trying to create a web api project in vs2017 using core 2.0 with angular client.
I followed the quickstart for angular2 spa. But i can not get past the checkpoint to try calling the auth.login().

I get the error “NodeInvocationException: Prerendering failed because of error: TypeError: require is not a function”. But if I remove the prerender in home.html view, I get a blank page instead.

Please let me know how to fix this.

1 Like