Closed bczd233 closed 1 month ago
旧的编译过的复制到新服务器上也用不了
PS C:\js\gemini-pro-chat-kit-main> pnpm i Scope: all 3 workspace projects Lockfile is up to date, resolution step is skipped Already up to date Done in 522ms PS C:\js\gemini-pro-chat-kit-main> pnpm run build
gemini-pro-chat-kit@0.1.0 build C:\js\gemini-pro-chat-kit-main tsup
CLI Building entry: packages/main/core.ts, packages/main/server.ts CLI Using tsconfig: tsconfig.json CLI tsup v8.0.2 CLI Using tsup config: C:\js\gemini-pro-chat-kit-main\tsup.config.ts CLI Target: es2017 CJS Build start CJS dist\core.cjs 784.04 KB CJS dist\server.cjs 1.88 MB CJS ⚡️ Build success in 173ms PS C:\js\gemini-pro-chat-kit-main> pnpm run start
gemini-pro-chat-kit@0.1.0 start C:\js\gemini-pro-chat-kit-main forever start dist/server.cjs
node:internal/modules/cjs/loader:1148 throw err; ^
Error: Cannot find module 'async/forEach' Require stack:
Node.js v20.15.1 ELIFECYCLE Command failed with exit code 1. PS C:\js\gemini-pro-chat-kit-main>
PS D:\js\gemini-pro-chat-kit-main> pnpm run start
gemini-pro-chat-kit@0.2.0 start D:\js\gemini-pro-chat-kit-main forever start dist/server.cjs
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: dist/server.cjs
(node:10500) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
(node:10500) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
PS D:\js\gemini-pro-chat-kit-main> pnpm run stop
gemini-pro-chat-kit@0.2.0 stop D:\js\gemini-pro-chat-kit-main forever stopall
(node:9308) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
(node:9308) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
info: No forever processes running
info: Forever stopped processes:
data: uid command script forever pid id logfile uptime
data: [0] WhQH "D:\node\node.exe" D:\js\gemini-pro-chat-kit-main\dist\server.cjs 2132 10128 C:\Users\Administrator.forever\WhQH.log 0:0:0:36.562
data: [1] Gqhb "D:\node\node.exe" D:\js\gemini-pro-chat-kit-main\dist\server.cjs 10384 9892 C:\Users\Administrator.forever\Gqhb.log STOPPED
PS D:\js\gemini-pro-chat-kit-main>
没法用了 PS D:\js\gemini-pro-chat-kit-main> pnpm run start
gemini-pro-chat-kit@0.2.0 start D:\js\gemini-pro-chat-kit-main forever start dist/server.cjs
warn: --minUptime not set. Defaulting to: 1000ms
warn: --spinSleepTime not set. Your script will exit if it does not stay up for at least 1000ms
info: Forever processing file: dist/server.cjs
(node:6720) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
(Use node --trace-warnings ...
to show where the warning was created)
(node:6720) Warning: Accessing non-existent property 'padLevels' of module exports inside circular dependency
PS D:\js\gemini-pro-chat-kit-main>
麻烦您使用即时聊天软件与我联系可以吗,不要在这里回复了,真的没法等