brandonroberts / angular-router-loader

A Webpack loader that enables string-based module loading with the Angular Router

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

angular-router-loader not working with latest version of loader-utils 1.1.0

naveedahmed1 opened this issue · comments

I tried adding angular-router-loader with loader-utils 1.1.0 to my app but its throwing below error:

An unhandled exception occurred while processing the request.
NodeInvocationException: Prerendering failed because of error: Error: Module build failed: TypeError: loaderUtils.getOptions is not a function

I don't think this is an issue with this loader. You may have another package that depends on an older version of loader-utils that is getting installed.