我在sublime text3中创建了一个新的构建系统并将其保存如下:
{“cmd”:[“C:\ Program Files \ Google \ Chrome \ Application \ chrome.exe“,”$ file“]}
但是当我在构建系统中选择它并按:control + b“构建它时,我得到的是:
[WinError 2]系统找不到指定的文件[cmd: ['\ u202a \ u202aC:\ PROGRAM FILES \谷歌\镀铬\应用\的chrome.exe”, 'C:\编程\ ReduxSimpleStarter-master1 \ ReduxSimpleStarter主\ SRC \ index.js']] [导演: C:\编程\ ReduxSimpleStarter-master1 \ ReduxSimpleStarter主\ SRC] [路径:C:\ ProgramData \ Oracle \ Java \ javapath; C:\ Program Files \ NVIDIA 公司\ PhysX物理\常见; d:\ WampDeveloper \组件\ Apache的\ BIN; d:\ WampDeveloper \组件\ PHP; d:\ WampDeveloper \组件\ mysql的\ BIN; d:\ WampDeveloper \工具\ Perl的\ Perl的\ BIN; C:\ PROGRAM Files \ Common Files \ Microsoft Shared \ Windows 生活; C:\ WINDOWS \ SYSTEM32; C:\ WINDOWS; C:\ WINDOWS \ SYSTEM32 \ WBEM; C:\ WINDOWS \ SYSTEM32 \ WindowsPowerShell \ V1.0 \; C:\ PROGRAM Files \ Windows Live \ Shared; C:\ Program Files \ Microsoft SQL Server \ 90 \ Tools \ binn \; C:\ Program Files \ QuickTime \ QTSystem \; C:\ Program Files \ AMD \ ATI.ACE \ Core-Static; C:\ Program Files \ ATI Technologies \ ATI.ACE \ Core-Static; C:\ Program Files \ Microsoft \ Web Platform Installer \; C:\ Program Files \ DevDesktop \ drush; C:\ Program Files \ Microsoft SQL Server \ 120 \ Tools \ Binn \; C:\ Program Files \ cURL \ bin; C:\ Program Files \ Skype \ Phone \; C:\ Program Files \ Windows 套件\ 10 \ Windows Performance Toolkit \; C:\ Program Files \ Git \ cmd; C:\ Program Files \ nodejs \; C:\ Program Files \ CSR \ CSR 和谐无线软件 堆栈\; C:\ RoR的\ Rails的\ RailsInstaller \的Git \ CMD; C:\ RoR的\ Rails的\ RailsInstaller \ Ruby2.1.0 \ BIN; C:\ PROGRAM Files \ Microsoft VS. 代码\ BIN; C:\用户\ Daniel.Daniel-PC \应用程序数据\漫游\ NPM;%USERPROFILE%\应用程序数据\本地\微软\ WindowsApps] [完成]。
如何使用chrome输出正确设置构建系统?
答案 0 :(得分:0)
如果您查看错误,您会看到Chrome的路径前有两个不可见的Unicode字符\u202a
。打开构建系统,将光标放在<{em} C
C:\Program Files\...
之后,按退格键几次以删除C
和不可见字符,直到你删除开头双引号"
。现在,重新键入"C
,保存构建系统,然后重新运行它。