📜  gulp 意外令牌 - 任何代码示例

📅  最后修改于: 2022-03-11 14:55:02.359000             🧑  作者: Mango

代码示例1
ubuntu@ip-172-31-84-181:~/socialsite$ gulp build
/home/ubuntu/socialsite/node_modules/globby/index.js:28
        } catch {
                ^

SyntaxError: Unexpected token {
    at createScript (vm.js:80:10)
    at Object.runInThisContext (vm.js:139:10)
    at Module._compile (module.js:616:28)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object. (/home/ubuntu/socialsite/node_modules/del/index.js:4:16)