Skip to content

No artifact has been found with name “AverageRatings” #28

Description

@MarianKijewski

After

  • cloning the repository,
  • creating the github auth token with read:packages permissions,
  • running the npm install,
  • and using cds watch

I get the following logs:

cds serve all --with-mocks --in-memory?                                                                                                                                              
( live reload enabled for browsers ) 

        ___________________________                                                                                                                                                  
                                                                                                                                                                                     
[cds] - bootstrapping from { file: 'srv/server.js' }
[ERROR] srv/mashup.cds:14:21-35: No artifact has been found with name “AverageRatings” (in entity:“sap.capire.bookshop.Books”/element:“rating”)
[WARNING] srv/mashup.cds:11:24-38: There is no definition in the model whose name starts with “ReviewsService.AverageRatings” (in using:“AverageRatings”)

I also saw this comment, under different issue which suggest using npm up, but I get the same error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions