Skip to content

Unhandled promise rejection in Quick Start - Domain Model  #63

Description

@2015kd

Came across below error on domain model chapter, could you pls take a look.

Unhandled Promise rejection: Unexpected value 'JokeListComponent' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@component annotation. ; Zone: ; Task: null ; Value: Error: Unexpected value 'JokeListComponent' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@component annotation.
at syntaxError (util.ts:100)
at eval (metadata_resolver.ts:620)
at Array.forEach ()
at CompileMetadataResolver.getNgModuleMetadata (metadata_resolver.ts:600)
at JitCompiler.loadModules (compiler.ts:127)
at JitCompiler.compileModuleAndComponents (compiler.ts:107)
at JitCompiler.compileModuleAsync (compiler.ts:61)
at CompilerImpl.compileModuleAsync (compiler_factory.ts:57)
at compileNgModuleFactory__PRE_R3
(application_ref.ts:43)
at PlatformRef.bootstrapModule (application_ref.ts:262) Error: Unexpected value 'JokeListComponent' declared by the module 'AppModule'. Please add a @Pipe/@Directive/@component annotation.
at syntaxError (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/compiler@7.2.15/bundles/compiler.umd.js:2500:21)
at eval (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/compiler@7.2.15/bundles/compiler.umd.js:18757:44)
at Array.forEach ()
at CompileMetadataResolver.getNgModuleMetadata (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/compiler@7.2.15/bundles/compiler.umd.js:18739:58)
at JitCompiler.loadModules (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/compiler@7.2.15/bundles/compiler.umd.js:26085:55)
at JitCompiler.compileModuleAndComponents (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/compiler@7.2.15/bundles/compiler.umd.js:26066:40)
at JitCompiler.compileModuleAsync (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/compiler@7.2.15/bundles/compiler.umd.js:26026:41)
at CompilerImpl.compileModuleAsync (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/platform-browser-dynamic@7.2.15/bundles/platform-browser-dynamic.umd.js:202:35)
at compileNgModuleFactory__PRE_R3
(https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/core@7.2.15/bundles/core.umd.js:17664:25)
at PlatformRef.bootstrapModule (https://github-g2mxbh.stackblitz.io/turbo_modules/@angular/core@7.2.15/bundles/core.umd.js:17847:20)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions