Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yarn Start Faild #7

Closed
MarvinV28 opened this issue May 7, 2023 · 1 comment
Closed

Yarn Start Faild #7

MarvinV28 opened this issue May 7, 2023 · 1 comment

Comments

@MarvinV28
Copy link

When I try to start the program with Yarn I get the error:

/gpt4free-ts# yarn start
yarn run v1.22.19
$ ts-node index.ts
/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] (/var/docker/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. (/var/docker/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.

@xiangsx
Copy link
Owner

xiangsx commented May 7, 2023

node 啥版本,用18.x

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants