-
Couldn't load subscription status.
- Fork 7
Open
Description
Hi there
As I'm a huge fan of the localize-router, it's obvious for me to use the http-loader as well.
Unfortunately I'm receiving an error when starting the app via node.
I already looked a bit into it and from the error I would guess the issue is probably that I'm using Angular 5 (as I have found other repositories with the same error).
As far as I found out Angular 5 does not export OpaqueToken anymore (zefoy/ngx-perfect-scrollbar#113).
/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:692
var LOCALIZE_ROUTER_FORROOT_GUARD = new __WEBPACK_IMPORTED_MODULE_0__angular_core__["OpaqueToken"]('LOCALIZE_ROUTER_FORROOT_GUARD');
^
TypeError: __WEBPACK_IMPORTED_MODULE_0__angular_core__.OpaqueToken is not a constructor
at Object.module.exports (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:692:37)
at __webpack_require__ (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:30:30)
at Object.<anonymous> (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:260:82)
at __webpack_require__ (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:30:30)
at Object.module.exports (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:98:82)
at __webpack_require__ (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:30:30)
at Object.module.exports (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:961:83)
at __webpack_require__ (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:30:30)
at Object.<anonymous> (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:930:86)
at __webpack_require__ (/node_modules/localize-router-http-loader/bundles/http-loader.umd.js:30:30)
As I currently can use the ManualParserLoader it isn't that big of an issue, but nonetheless would it be nice to make it compatible.
Thanks for your awesome work
gilsdav and liyunfei0302
Metadata
Metadata
Assignees
Labels
No labels