cancel
Showing results for 
Search instead for 
Did you mean: 

Knowledge Base Articles

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

ChaitanyaV_61
Employee

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

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
Version history
Revision #:
1 of 1
Last update:
‎Jan 14, 2020 01:48 AM
Updated by:
 
Contributors