ValueError:构建本机脚本应用程序时

时间:2019-12-11 06:22:13

标签: nativescript nativescript-angular

我正在使用本机脚本角度开发ios和android应用程序。当我创建新的本机脚本角度应用程序并构建该应用程序时,会导致类似

的错误
 File "./build-step-metadata-generator.py", line 40, in <module>
    header_search_paths_parsed = map_and_list((lambda s: "-I" + s), shlex.split(header_search_paths))
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 279, in split
    return list(lex)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 269, in next
    token = self.get_token()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 96, in get_token
    raw = self.read_token()
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/shlex.py", line 172, in read_token
    raise ValueError, "No closing quotation"
ValueError: No closing quotation

如何解决此问题?

1 个答案:

答案 0 :(得分:1)

路径中的撇号似乎打破了 shlex.split 。作为一种解决方法,我建议您将项目目录重命名为没有 '