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

How to fix the error #106

Open
hongling2511 opened this issue Mar 31, 2024 · 0 comments
Open

How to fix the error #106

hongling2511 opened this issue Mar 31, 2024 · 0 comments

Comments

@hongling2511
Copy link

hongling2511 commented Mar 31, 2024

this is the error message

TypeError [ERR_INVALID_ARG_TYPE]: The "strategy" argument must be of type object. Received type number (0)
at new ReadableStream (node:internal/webstreams/readablestream:254:5)
at safeReadableStreamFrom (/Users/hongling/hands-dirty/hono/examples/node_modules/miniflare/dist/src/index.js:8358:10)
at #handleLoopback (/Users/hongling/hands-dirty/hono/examples/node_modules/miniflare/dist/src/index.js:8520:36)
at Server.emit (node:events:531:35)
at parserOnIncoming (node:_http_server:1137:12)
at HTTPParser.parserOnHeadersComplete (node:_http_common:119:17) {
code: 'ERR_INVALID_ARG_TYPE'
}

my env

  • npm version 10,5,0
  • yarn version 3.2.1
  • wrangler 3.41.0
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