cli-gpt icon indicating copy to clipboard operation
cli-gpt copied to clipboard

运行命令报错,辛苦大佬看下

Open zpng opened this issue 2 years ago • 0 comments

➜ ~ cgpt 删除所有文件和文件夹 /Users/bytedance/.nodebrew/node/v12.0.0/lib/node_modules/magiccube-cli-gpt/node_modules/@oclif/core/lib/command.js:45 delete this.baseFlags?.json; ^

SyntaxError: Unexpected token . at Module._compile (internal/modules/cjs/loader.js:703:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10) at Module.load (internal/modules/cjs/loader.js:628:32) at Function.Module._load (internal/modules/cjs/loader.js:555:12) at Module.require (internal/modules/cjs/loader.js:666:19) at require (internal/modules/cjs/helpers.js:16:16) at Object. (/Users/bytedance/.nodebrew/node/v12.0.0/lib/node_modules/magiccube-cli-gpt/node_modules/@oclif/core/lib/index.js:5:19) at Module._compile (internal/modules/cjs/loader.js:759:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:770:10) at Module.load (internal/modules/cjs/loader.js:628:32)

zpng avatar Apr 06 '23 14:04 zpng