Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

‘Make Getlibs’ Command Fails with a Syntax Error in ModusToolbox - KBA229440

‘Make Getlibs’ Command Fails with a Syntax Error in ModusToolbox - KBA229440

ChaitanyaV_61
Employee
Employee
50 questions asked 25 likes received 25 sign-ins

Author: DheerajK_81           Version: **

Translation - Japanese: ‘Make Getlibs’ Command Fails with a Syntax Error in ModusToolbox - Community Translated (JA)

With ModusToolbox™ 2.0 on Windows, application creation fails with a syntax error like this:

/bin/bash: -c: line 0: syntax error near unexpected token `('

This syntax error occurs if the PATH system environment variable has non-standard symbols.

Ensure that the PATH variable does not contain any control characters or any of the following characters:

  • forward slash ( / )
  • less than ( < )
  • greater than ( > )
  • vertical bar or pipe ( | )
  • double quote ( “ )

Remove anything that isn’t an actual path. Restart ModusToolbox for the changes to take effect.

For a real-world example of this problem, see the “getlibs failed” thread in Cypress Community.

0 Likes
723 Views
Contributors