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

my project run with webcontainer fail! #1392

Open
1 task done
ChaseRay1989 opened this issue Mar 23, 2024 · 0 comments
Open
1 task done

my project run with webcontainer fail! #1392

ChaseRay1989 opened this issue Mar 23, 2024 · 0 comments

Comments

@ChaseRay1989
Copy link

Describe the bug

❯ node app.js
[2024-03-23T21:45:11.253] [INFO] pinus - [master-server-1 application.js] application inited: "master-server-1"
[2024-03-23T21:45:11.315] [INFO] pinus - [master-server-1 application.js] "master-server-1" enter before start...
[2024-03-23T21:45:11.321] [INFO] pinus - [master-server-1 application.js] "master-server-1" enter start...
[2024-03-23T21:45:11.387] [INFO] pinus - [master-server-1 starter.js] Executing /usr/local/bin/node --inspect=10001,/home/projects/stackblitz-starters-y1fxfb/HelloWorld/game-server/dist/app.js,env=development,id=connector-server-1,host=127.0.0.1,port=3150,clientHost=127.0.0.1,clientPort=3010,frontend=true,args= --inspect=10001,serverType=connector locally
[2024-03-23T21:46:25.561] [INFO] logger - [master-server-1 console] errordsfdf
[2024-03-23T21:46:25.562] [INFO] logger - [master-server-1 console] TypeError: "list" argument must be an Array of Buffers
at Buffer.concat (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:116:14723)
at (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:389836)
at _0x29cdb8 (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:390011)
at _0x492ed6._write (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:371:21102)
at _0x492ed6.writev (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:371:15702)
at writevGeneric (node:internal/stream_base_commons:158:1525)
at Socket._writeGeneric (node:net:55:11807)
at Socket._writev (node:net:55:11908)
at doWrite (node:internal/streams/writable:135:4281)
at clearBuffer (node:internal/streams/writable:135:6052)
at Writable.uncork (node:internal/streams/writable:135:3972)
at uncork (/home/projects/stackblitz-starters-y1fxfb/HelloWorld/game-server/node_modules/mqtt-packet/writeToStream.js:80:10)
at _0x4295d3 (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:154935)
at (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:154692)
[2024-03-23T21:46:25.634] [ERROR] logger - [master-server-1 console] master-server-1Error:
at Logger.pLogger. [as error] (/home/projects/stackblitz-starters-y1fxfb/HelloWorld/game-server/node_modules/pinus-logger/lib/logger.ts:76:34)
at process.eval (/home/projects/stackblitz-starters-y1fxfb/HelloWorld/game-server/preload.ts:36:13)
at process.EventEmitter.emit (node:events:42:9202)
at process.onGlobalUncaughtException [as _fatalException] (node:internal/process/execution:69:1745)
at _0x1369a1 (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:350:334745)
at https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:632039 uncaughtException Caught exception: TypeError: "list" argument must be an Array of Buffers
at Buffer.concat (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:116:14723)
at (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:389836)
at _0x29cdb8 (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:390011)
at _0x492ed6._write (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:371:21102)
at _0x492ed6.writev (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:371:15702)
at writevGeneric (node:internal/stream_base_commons:158:1525)
at Socket._writeGeneric (node:net:55:11807)
at Socket._writev (node:net:55:11908)
at doWrite (node:internal/streams/writable:135:4281)
at clearBuffer (node:internal/streams/writable:135:6052)
at Writable.uncork (node:internal/streams/writable:135:3972)
at uncork (/home/projects/stackblitz-starters-y1fxfb/HelloWorld/game-server/node_modules/mqtt-packet/writeToStream.js:80:10)
at _0x4295d3 (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:154935)
at (https://stackblitzstartersy1fxfb-q1mr.w-credentialless-staticblitz.com/blitz.d0228c83.js:352:154692)

Link to the blitz that caused the error

https://stackblitz.com/edit/stackblitz-starters-y1fxfb?file=package.json

Steps to reproduce

1.open my project link: https://stackblitz.com/edit/stackblitz-starters-y1fxfb?file=package.json
2. it will auto install and run
3. the terminal will show the error stack log

Expected behavior

I just want to solve this problem,and let my project run successfully。

Parity with Local

Screenshots

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 91.1]

Additional context

No response

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

1 participant