gpt4free-ts icon indicating copy to clipboard operation
gpt4free-ts copied to clipboard

用npm install yarn后,出这个错误,不懂

Open fallbort opened this issue 1 year ago • 1 comments

ubuntu@ip-172-26-15-236:~/src/gpt4free-ts$ yarn start yarn run v1.22.19 $ ts-node index.ts /home/ubuntu/src/gpt4free-ts/node_modules/tls-client/dist/sessions.js:44 this.clientIdentifier = options?.clientIdentifier; ^

SyntaxError: Unexpected token '.' at wrapSafe (internal/modules/cjs/loader.js:915:16) at Module._compile (internal/modules/cjs/loader.js:963:27) at Module._extensions..js (internal/modules/cjs/loader.js:1027:10) at Object.require.extensions. [as .js] (/home/ubuntu/src/gpt4free-ts/node_modules/ts-node/src/index.ts:1608:43) at Module.load (internal/modules/cjs/loader.js:863:32) at Function.Module._load (internal/modules/cjs/loader.js:708:14) at Module.require (internal/modules/cjs/loader.js:887:19) at require (internal/modules/cjs/helpers.js:74:18) at Object. (/home/ubuntu/src/gpt4free-ts/node_modules/tls-client/dist/index.js:3:20) at Module._compile (internal/modules/cjs/loader.js:999:30) error Command failed with exit code 1.

fallbort avatar May 08 '23 11:05 fallbort