You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building a project containing a module using the @sap/grunt-sapui5-bestpractice-build plugin and the grunt builder, grunt is not found during the build.
ERROR could not build the "my-ui" module: could not execute the "grunt" command: exec: "grunt": executable file not found in$PATH
However,grunt is installed in <module>/node_modules/.bin/ and with the old build tool it was suficiend to build with PATH=./node_modules/.bin:$PATH.
So it looks like previously the build was executed in the module path where ./node_modules/.bin points to the correct directory which is not the case any longer.
Please provide the following info:
MBT Version: 1.0.0
OS Version: provided in container
If possible, provide a link to the project. (contact me)
Steps to Reproduce:
start devxci/mbtci
run export PATH=./node_modules/.bin:$PATH mbt build --platform cf
One solution could be to install NPM's grunt-cli to detect the nearest grunt executable.
The text was updated successfully, but these errors were encountered:
When building a project containing a module using the
@sap/grunt-sapui5-bestpractice-build
plugin and the grunt builder,grunt
is not found during the build.However,
grunt
is installed in<module>/node_modules/.bin/
and with the old build tool it was suficiend to build withPATH=./node_modules/.bin:$PATH
.So it looks like previously the build was executed in the module path where
./node_modules/.bin
points to the correct directory which is not the case any longer.Please provide the following info:
Steps to Reproduce:
devxci/mbtci
export PATH=./node_modules/.bin:$PATH mbt build --platform cf
One solution could be to install NPM's
grunt-cli
to detect the nearestgrunt
executable.The text was updated successfully, but these errors were encountered: