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

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

Open
gregorwolf opened this issue Apr 29, 2018 · 0 comments
Open

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

gregorwolf opened this issue Apr 29, 2018 · 0 comments

Comments

@gregorwolf
Copy link

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/

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant