Open RichardTezbir opened 3 years ago
file package.json : change dependencies "grunt": "^1.3.0" to "grunt": "^0.4.5" , then have a try again
I am facing the same issue and I don't think that downgrading the version will help in the long term. Even as short-term mitigation downgrading the version from 1.x.x to 0.4.x doesn't look right. @83819269
I am facing the same issue with exact same script. Please share if you know what is causing the issue and if some solution. @83819269
I faced the same issue! This is the solution, that works for me:
npm uninstall -g grunt-cli
npm install -g grunt-cli
@ExternalMe I tried the steps you mentioned. But still facing the same issue. I am also facing the same issue and the script is also the same.
Running "lint" task
Running "mkdir:dist" (mkdir) task Creating "C:\Users\I5###\S###R\JavaBackend\acrs-core-mtar\acrscore-html5\dist"...ERROR Warning: Mkdir operation failed. Use --force to continue.
Aborted due to warnings. [2022-04-26 23:42:58] ERROR could not build the "acrscore-html5" module: could not execute the "grunt" command: exit status 6
Hello Team,
We are having the same issue. Is there any solution ?
-Sudhir.
Hi everybody, I'm new to project, and I'm not experienced with MBT, nor grunt. But after reasearch I see no mistake from my side, which I'm aware of.
Please provide the following info:
Steps to Reproduce:
Grunt-file:
Problem description:
Output since grunt tasks:
[2021-04-21 08:13:37] INFO executing the "grunt" command... ....distDirC:\Users\RichardTezbir\Desktop\workPlace\Innogy-IOT\locationsoverview\LocationExtensionAIN-app\dist ..... Running "clean:dist" (clean) task
Running "clean:coverage" (clean) task
Running "lint" task
Running "mkdir:dist" (mkdir) task Creating "C:\Users\RichardTezbir\Desktop\workPlace\Innogy-IOT\locationsoverview\LocationExtensionAIN-app\dist"...ERROR Warning: Mkdir operation failed. Use --force to continue.
Aborted due to warnings. [2021-04-21 08:13:46] ERROR could not build the "LocationExtensionAIN-app" module: could not execute the "grunt" command: exit status 6 make: *** [LocationExtensionAIN-app] Error 1 Error: could not build the MTA project: could not execute the "make -f Makefile_20210421081247.mta p=cf mtar= strict=true mode=" command: exit status 2
Conclusion:
It seems there is problem with grunt rights to create folder. So I run grunt build command inside the folder with gruntfile, and everything works fine.
So I assume it is problem with mbt build, which I grant all the permissions needed through windows-folder properties in security section.
The thing is, for all my colleagues it is working just fine. Probably it is not general issue, I just see no difference between their settings and mine.
If you have any ideas what can cause problem, please refer to me with additional question, if you need more informations.