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

TypeError [ERR_INVALID_ARG_TYPE] #127

Open
cvatricks opened this issue Jun 5, 2022 · 0 comments
Open

TypeError [ERR_INVALID_ARG_TYPE] #127

cvatricks opened this issue Jun 5, 2022 · 0 comments

Comments

@cvatricks
Copy link

2022-06-05T11:09:37.565181+00:00 app[web.1]: node:internal/errors:465
2022-06-05T11:09:37.565187+00:00 app[web.1]: ErrorCaptureStackTrace(err);
2022-06-05T11:09:37.565188+00:00 app[web.1]: ^
2022-06-05T11:09:37.565188+00:00 app[web.1]:
2022-06-05T11:09:37.565189+00:00 app[web.1]: TypeError [ERR_INVALID_ARG_TYPE]: The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView. Received undefined
2022-06-05T11:09:37.565190+00:00 app[web.1]: at Object.writeFileSync (node:fs:2163:5)
2022-06-05T11:09:37.565190+00:00 app[web.1]: at mkfile (/app/utils/mkfile.js:17:6)
2022-06-05T11:09:37.565190+00:00 app[web.1]: at /app/lib/torrent.js:79:7
2022-06-05T11:09:37.565191+00:00 app[web.1]: at Array.forEach ()
2022-06-05T11:09:37.565192+00:00 app[web.1]: at Torrent.saveFiles (/app/lib/torrent.js:75:19)
2022-06-05T11:09:37.565192+00:00 app[web.1]: at Torrent. (/app/lib/torrent.js:47:14)
2022-06-05T11:09:37.565192+00:00 app[web.1]: at Object.onceWrapper (node:events:641:28)
2022-06-05T11:09:37.565193+00:00 app[web.1]: at Torrent.emit (node:events:527:28)
2022-06-05T11:09:37.565194+00:00 app[web.1]: at Torrent._checkDone (/app/node_modules/webtorrent/lib/torrent.js:1585:12)
2022-06-05T11:09:37.565194+00:00 app[web.1]: at /app/node_modules/webtorrent/lib/torrent.js:1539:20
2022-06-05T11:09:37.565194+00:00 app[web.1]: at /app/node_modules/simple-sha1/index.js:6:5
2022-06-05T11:09:37.565195+00:00 app[web.1]: at processTicksAndRejections (node:internal/process/task_queues:78:11) {
2022-06-05T11:09:37.565195+00:00 app[web.1]: code: 'ERR_INVALID_ARG_TYPE'
2022-06-05T11:09:37.565195+00:00 app[web.1]: }

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