久久久久久久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 任務(wù)運(yùn)行程序錯(cuò)誤

      Visual Studio Task Runner Error with ES6(ES6 的 Visual Studio 任務(wù)運(yùn)行程序錯(cuò)誤)
    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 任務(wù)運(yùn)行程序錯(cuò)誤的處理方法,對(duì)大家解決問(wèn)題具有一定的參考價(jià)值,需要的朋友們下面隨著小編來(lái)一起學(xué)習(xí)吧!

                問(wèn)題描述

                限時(shí)送ChatGPT賬號(hào)..

                我正在運(yùn)行 Visual Studio 2017 并使用 Task Runner 在我的 gulpfile 中運(yùn)行任務(wù).我最近將一個(gè) gulp 任務(wù)更新到 ES6,現(xiàn)在收到此錯(cuò)誤:

                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:

                無(wú)法運(yùn)行C:Users z9rcnCodeWebUIGulpfile.js"...cmd.exe/c gulp --tasks-simpleC:Users z9rcnCodeWebUIgulp-taskslesslint.js:5讓失敗=假;^^^SyntaxError:在嚴(yán)格模式之外尚不支持塊范圍的聲明(let、const、函數(shù)、類)在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)在要求(內(nèi)部/module.js:12:17)在任務(wù) (C:Users z9rcnCodeWebUIgulpfile.js:24:25)在對(duì)象.<匿名>(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)

                找不到地方來(lái)調(diào)整導(dǎo)致此錯(cuò)誤的設(shè)置(嚴(yán)格模式).請(qǐng)幫忙.謝謝

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

                推薦答案

                通過(guò)取消選中 Task Runner 使用的 Node.js 二進(jìn)制文件的復(fù)選框來(lái)解決問(wèn)題:

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

                在菜單中,進(jìn)入 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.

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

                這篇關(guān)于ES6 的 Visual Studio 任務(wù)運(yùn)行程序錯(cuò)誤的文章就介紹到這了,希望我們推薦的答案對(duì)大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

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

                相關(guān)文檔推薦

                Browserify, Babel 6, Gulp - Unexpected token on spread operator(Browserify,Babel 6,Gulp - 傳播運(yùn)算符上的意外令牌)
                Is it possible to pass a flag to Gulp to have it run tasks in different ways?(是否可以將標(biāo)志傳遞給 Gulp 以使其以不同的方式運(yùn)行任務(wù)?)
                Why do we need to install gulp globally and locally?(為什么我們需要在全局和本地安裝 gulp?)
                How to run Gulp tasks sequentially one after the other(如何一個(gè)接一個(gè)地依次運(yùn)行 Gulp 任務(wù))
                Visual Studio 2015 crashes when opening Javascript files(打開(kāi) Javascript 文件時(shí) Visual Studio 2015 崩潰)
                Detect FLASH plugin crashes(檢測(cè) 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>
                          主站蜘蛛池模板: 精品久久国产 | 成人免费激情视频 | 一级大片免费 | 日本精品在线观看 | 亚洲精选一区二区 | 国产亚洲精品综合一区 | 精品乱人伦一区二区三区 | 国产小视频在线 | 欧美亚洲另类丝袜综合网动图 | 97久久超碰| 一区在线观看视频 | 亚洲精品一区二区另类图片 | 免费看国产片在线观看 | 亚洲精品福利在线 | 91伊人 | 亚洲国产一区视频 | 天天综合久久 | 日韩欧美在线视频 | 夜夜艹 | 亚洲日本视频 | 欧美精品一二三 | 久久久91精品国产一区二区三区 | 日韩一区二区视频 | 夜夜夜夜夜夜曰天天天 | 欧美精品久久久久 | 精品美女视频在免费观看 | 国产一级一级 | 日韩精品免费在线观看 | 精品久久久久久国产 | 久久久成人免费一区二区 | 久久9999久久| 国产成人精品一区二区三区在线 | 精品国产乱码久久久久久88av | 国产免费自拍 | 三级黄色大片网站 | 日韩一区二区三区在线观看 | 亚洲欧美国产精品久久 | 性欧美精品一区二区三区在线播放 | 天天拍天天草 | 亚洲第一成人av | 欧美福利影院 |