Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/angular/26.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Angular 有常春藤的角形8号无法建造_Angular_Angular8_Angular Ivy_Angular Cli V8 - Fatal编程技术网

Angular 有常春藤的角形8号无法建造

Angular 有常春藤的角形8号无法建造,angular,angular8,angular-ivy,angular-cli-v8,Angular,Angular8,Angular Ivy,Angular Cli V8,我将包迁移到angular 8,我想使用ivy,因为我使用的是延迟加载的模块。 当我运行ng serve时,我收到以下错误消息 我不知道如何追踪这个问题。有没有人解决了这个问题或有类似的问题 chunk {main} main.js, main.js.map (main) 2.09 kB [initial] [rendered] chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 149 kB [initial] [rende

我将包迁移到angular 8,我想使用ivy,因为我使用的是延迟加载的模块。
当我运行
ng serve
时,我收到以下错误消息

我不知道如何追踪这个问题。有没有人解决了这个问题或有类似的问题

chunk {main} main.js, main.js.map (main) 2.09 kB [initial] [rendered]
chunk {polyfills} polyfills.js, polyfills.js.map (polyfills) 149 kB [initial] [rendered]
chunk {runtime} runtime.js, runtime.js.map (runtime) 6.15 kB [entry] [rendered]
chunk {scripts} scripts.js, scripts.js.map (scripts) 40.8 kB [entry] [rendered]
chunk {styles} styles.js, styles.js.map (styles) 1.24 MB [initial] [rendered]
chunk {vendor} vendor.js, vendor.js.map (vendor) 339 kB [initial] [rendered]
Date: 2019-10-23T07:19:03.231Z - Hash: 3ce8f1ee84ac94831c6b - Time: 10287ms

ERROR in The "path" argument must be of type string. Received type undefined
** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **
i 「wdm」: Failed to compile.
版本: 路线:
更新:添加了路由

这看起来像是路由的潜在问题?您可以分享您的路线吗?在
adminsettings
模块中是否有进一步的路线文件?是的,但类似于批准的超基本路线这似乎是路线的潜在问题?您可以分享您的路线吗?在
adminsettings
模块中是否有进一步的路线文件?是的,但与AppRoutes一样是超基本的
Angular CLI: 8.3.13
Node: 10.16.3
OS: win32 x64
Angular: 8.2.11
... animations, common, compiler, compiler-cli, core, forms
... platform-browser, platform-browser-dynamic, platform-server
... router

Package                           Version
-----------------------------------------------------------
@angular-devkit/architect         0.803.13
@angular-devkit/build-angular     0.803.13
@angular-devkit/build-optimizer   0.803.13
@angular-devkit/build-webpack     0.803.13
@angular-devkit/core              8.3.13
@angular-devkit/schematics        8.3.13
@angular/cdk                      8.2.3
@angular/cli                      8.3.13
@angular/material                 8.2.3
@ngtools/webpack                  8.3.13
@schematics/angular               8.3.13
@schematics/update                0.803.13
rxjs                              6.5.3
typescript                        3.5.3
webpack                           4.39.2
export let AppRoutes: Routes = [
    {
        path: '',
        redirectTo: 'signin',
        pathMatch: 'full'
    },
    {
        path: 'adminbereich',
        loadChildren: () => import('./modules/adminsettings').then(m => m.AdminSettingsModule)
    },
    {
        path: 'signin',
        component: SignInComponent,
        resolve: {
            model: SignInResolve
        }
    },
    {
        path: 'signup',
        component: SignUpComponent,
        resolve: {
            model: SignUpResolve
        }
    },
    {
        path: 'forgot-password',
        component: ForgotPasswordComponent
    }
];