Issue with Build Wrapper on C++ project

We use a grunt build command to build our project.

We ran build-wrapper-win-x86-64.exe --out-dir . grunt build to execute the build wrapper. However, we are getting the following error:

C:\Users\<path>>build-wrapper.exe --out-dir . grunt build. Could not execute grunt build. The system cannot find the file specified.

The same command, using grunt build, works on a Mac but not on Windows10. Any suggestions on how to solve this?

Hello @aashna and welcome to our community!

First, can you confirm that this command grunt build works on Windows10 without the build-wrapper?
If so, I can suggest you to write the full path to grunt build with its extension. This should solve your problem.

1 Like

@Amelie Hi Amelie, thank you for the quick response. Using the MSBuild command behind the grunt build solved the issue. Thank you!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.