久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <legend id='vrP16'><style id='vrP16'><dir id='vrP16'><q id='vrP16'></q></dir></style></legend>
      <bdo id='vrP16'></bdo><ul id='vrP16'></ul>
  1. <small id='vrP16'></small><noframes id='vrP16'>

    1. <tfoot id='vrP16'></tfoot>

    2. <i id='vrP16'><tr id='vrP16'><dt id='vrP16'><q id='vrP16'><span id='vrP16'><b id='vrP16'><form id='vrP16'><ins id='vrP16'></ins><ul id='vrP16'></ul><sub id='vrP16'></sub></form><legend id='vrP16'></legend><bdo id='vrP16'><pre id='vrP16'><center id='vrP16'></center></pre></bdo></b><th id='vrP16'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='vrP16'><tfoot id='vrP16'></tfoot><dl id='vrP16'><fieldset id='vrP16'></fieldset></dl></div>
    3. ES6 的 Visual Studio 任務運行程序錯誤

      Visual Studio Task Runner Error with ES6(ES6 的 Visual Studio 任務運行程序錯誤)
    4. <small id='tpbWH'></small><noframes id='tpbWH'>

        <tbody id='tpbWH'></tbody>

        <tfoot id='tpbWH'></tfoot>
        <i id='tpbWH'><tr id='tpbWH'><dt id='tpbWH'><q id='tpbWH'><span id='tpbWH'><b id='tpbWH'><form id='tpbWH'><ins id='tpbWH'></ins><ul id='tpbWH'></ul><sub id='tpbWH'></sub></form><legend id='tpbWH'></legend><bdo id='tpbWH'><pre id='tpbWH'><center id='tpbWH'></center></pre></bdo></b><th id='tpbWH'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='tpbWH'><tfoot id='tpbWH'></tfoot><dl id='tpbWH'><fieldset id='tpbWH'></fieldset></dl></div>

            • <legend id='tpbWH'><style id='tpbWH'><dir id='tpbWH'><q id='tpbWH'></q></dir></style></legend>
                <bdo id='tpbWH'></bdo><ul id='tpbWH'></ul>
                本文介紹了ES6 的 Visual Studio 任務運行程序錯誤的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                問題描述

                限時送ChatGPT賬號..

                我正在運行 Visual Studio 2017 并使用 Task Runner 在我的 gulpfile 中運行任務.我最近將一個 gulp 任務更新到 ES6,現在收到此錯誤:

                I am running Visual Studio 2017 and use the Task Runner to run tasks in my gulpfile. I recently updated a gulp task to ES6 and now am getting this error:

                無法運行C:Users z9rcnCodeWebUIGulpfile.js"...cmd.exe/c gulp --tasks-simpleC:Users z9rcnCodeWebUIgulp-taskslesslint.js:5讓失敗=假;^^^SyntaxError:在嚴格模式之外尚不支持塊范圍的聲明(let、const、函數、類)在exports.runInThisContext (vm.js:53:16)在 Module._compile (module.js:373:25)在 Object.Module._extensions..js (module.js:404:10)在 Module.load (module.js:343:32)在 Function.Module._load (module.js:300:12)在 Module.require (module.js:353:17)在要求(內部/module.js:12:17)在任務 (C:Users z9rcnCodeWebUIgulpfile.js:24:25)在對象.<匿名>(C:Users z9rcnCodeWebUIgulpfile.js:37:23)在 Module._compile (module.js:397:26)

                Failed to run "C:Users z9rcnCodeWebUIGulpfile.js"... cmd.exe /c gulp --tasks-simple C:Users z9rcnCodeWebUIgulp-taskslesslint.js:5 let fail = false; ^^^ SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode at exports.runInThisContext (vm.js:53:16) at Module._compile (module.js:373:25) at Object.Module._extensions..js (module.js:404:10) at Module.load (module.js:343:32) at Function.Module._load (module.js:300:12) at Module.require (module.js:353:17) at require (internal/module.js:12:17) at task (C:Users z9rcnCodeWebUIgulpfile.js:24:25) at Object.<anonymous> (C:Users z9rcnCodeWebUIgulpfile.js:37:23) at Module._compile (module.js:397:26)

                找不到地方來調整導致此錯誤的設置(嚴格模式).請幫忙.謝謝

                Can't find a place to adjust the settings causing this error (strict mode). Please help. Thanks

                推薦答案

                通過取消選中 Task Runner 使用的 Node.js 二進制文件的復選框來解決問題:

                Issue solved by un-checking the box for the Node.js binary used by Task Runner:

                在菜單中,進入 Tools > Options > Projects and Solutions > Web Package Management > External Web Tools 并取消選擇 $(VSINSTALLDIR)WebExternal

                In the menu, go to Tools > Options > Projects and Solutions > Web Package Management > External Web Tools and DESELECT the option for $(VSINSTALLDIR)WebExternal

                該目錄下安裝的版本顯然不支持ES6.

                The version installed in that directory doesn't support ES6 apparently.

                解決方案參考這里 和這里.

                這篇關于ES6 的 Visual Studio 任務運行程序錯誤的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!

                【網站聲明】本站部分內容來源于互聯網,旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯系我們刪除處理,感謝您的支持!

                相關文檔推薦

                Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運算符上的意外令牌)
                Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標志傳遞給 Gulp 以使其以不同的方式運行任務?)
                Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                How to run Gulp tasks sequentially one after the other(如何一個接一個地依次運行 Gulp 任務)
                Visual Studio 2015 crashes when opening Javascript files(打開 Javascript 文件時 Visual Studio 2015 崩潰)
                Detect FLASH plugin crashes(檢測 FLASH 插件崩潰)
                <i id='F2aU2'><tr id='F2aU2'><dt id='F2aU2'><q id='F2aU2'><span id='F2aU2'><b id='F2aU2'><form id='F2aU2'><ins id='F2aU2'></ins><ul id='F2aU2'></ul><sub id='F2aU2'></sub></form><legend id='F2aU2'></legend><bdo id='F2aU2'><pre id='F2aU2'><center id='F2aU2'></center></pre></bdo></b><th id='F2aU2'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='F2aU2'><tfoot id='F2aU2'></tfoot><dl id='F2aU2'><fieldset id='F2aU2'></fieldset></dl></div>
                    <bdo id='F2aU2'></bdo><ul id='F2aU2'></ul>
                  • <small id='F2aU2'></small><noframes id='F2aU2'>

                    1. <legend id='F2aU2'><style id='F2aU2'><dir id='F2aU2'><q id='F2aU2'></q></dir></style></legend>

                          <tbody id='F2aU2'></tbody>
                        • <tfoot id='F2aU2'></tfoot>
                          主站蜘蛛池模板: 精品国产乱码久久久久久88av | 精品一区二区三 | 国产精品久久久久久久久久久久久 | 夜夜草| 午夜一区二区三区 | 成人免费黄色片 | 天天操天天射天天舔 | 成人欧美一区二区三区黑人孕妇 | 欧美2区| 欧美日韩在线一区二区 | 欧美一区二区三区,视频 | 亚洲午夜av久久乱码 | 天天操天天玩 | 欧美日韩亚洲视频 | 国产精品国产三级国产aⅴ中文 | 亚洲国产精品激情在线观看 | 成年人视频免费在线观看 | 国产三区四区 | 久久九| 国产福利在线 | 午夜小视频免费观看 | 国产黄色免费网站 | 91精品国产91久久久久久最新 | 日韩中文字幕在线视频 | 欧美激情一区 | 亚洲日日操 | 中文字幕精品一区二区三区精品 | 一区二区三区在线免费观看视频 | 精品国产99 | 亚洲一区中文 | 欧美日韩在线观看视频 | 羞羞网站在线免费观看 | 在线观看www视频 | 日韩欧美专区 | 久久久久网站 | 亚洲色图第一页 | 亚洲日韩中文字幕一区 | 久久久精品影院 | 三级在线观看 | 日韩一区二区免费视频 | 国产精品伦一区二区三级视频 |