Skip to content
This repository was archived by the owner on Jul 16, 2021. It is now read-only.
This repository was archived by the owner on Jul 16, 2021. It is now read-only.

Build fails when only grunt is provided in package.json #10

@gregorwolf

Description

@gregorwolf

Today I've tried again the build using the ui5-sap-cp pipeline. But it failed with this error:

Module "sitregreceptionist": invoking grunt
Module "sitregreceptionist": command output
>  >> Local Npm module "grunt-contrib-clean" not found. Is it installed?
>  >> Local Npm module "grunt-contrib-copy" not found. Is it installed?
>  >> Local Npm module "grunt-contrib-uglify" not found. Is it installed?
>  >> Local Npm module "grunt-contrib-cssmin" not found. Is it installed?
>  >> Local Npm module "grunt-mkdir" not found. Is it installed?
>  >> Local Npm module "grunt-openui5" not found. Is it installed?
>  Warning: Task "clean" not found.� Use --force to continue.

Only after I've added:

		"grunt-contrib-clean": "^1.1.0",
		"grunt-contrib-copy": "^1.0.0",
		"grunt-contrib-cssmin": "^2.2.1",
		"grunt-contrib-uglify": "^3.3.0",
		"grunt-mkdir": "^1.0.0",
		"grunt-openui5": "^0.13.0"

to my package.json the build worked again. You can try with the public repository at
https://github.com/sapmentors/SITregReceptionist/

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