Skip to content

Demo的UI项目问题 #10

Open
Open

Description

@dafeifei0218

node: v22.10.0
npm: 10.9.0
yarn: 1.22.22

✘ [ERROR] TS-996001: The class 'StudentListComponent' is listed in the declarations of the NgModule 'DemoModule', but is not a directive, a component, or a pipe. Either remove it from the NgModule's declarations, or add an appropriate Angular decorator. [plugin angular-compiler]

Image

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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