You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Feb 27, 2019. It is now read-only.
Impossible to build / start from fresh generation, if webpack+typescript+uirouter
Change generator options to ngrouter and it works !
Error Message & Stack Trace
ERROR in ./src/app/routes.ts
(17,14): error TS2339: Property 'urlRouterProvider' does not exist on type 'UIRouter'.
ERROR in ./src/app/index.ts
(16,45): error TS2345: Argument of type '{ states: Ng2StateDeclaration[]; configClass: typeof MyUIRouterConfig; }' is not assignable to parameter of type 'RootModule'.
Object literal may only specify known properties, and 'configClass' does not exist in type 'RootModule'.
ERROR in ./~/ui-router-ng2/lib/uiRouterNgModule.js
Module not found: Error: Can't resolve '@angular/router/src/router_config_loader' in '/home/ludoo/dev/projects/fountain/node_modules/ui-router-ng2/lib'
@ ./~/ui-router-ng2/lib/uiRouterNgModule.js 6:0-66
@ ./~/ui-router-ng2/lib/index.js
@ ./src/app/index.ts
@ ./src/index.ts
Description
Impossible to build / start from fresh generation, if webpack+typescript+uirouter
Change generator options to ngrouter and it works !
Error Message & Stack Trace
Config
Copy the content from
.yo-rc.json
:Environment
Node.js v6.9.5
linux 4.4.0-71-generic (Ubuntu)
yo 1.8.5
npm 4.4.1
It happens also on windows7
The text was updated successfully, but these errors were encountered: