Closed Pro-Z-Emil closed 8 months ago
(node:739120) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.
(Use `node --trace-warnings ...` to show where the warning was created)
C:\Users\pro-z\config.js:1
export default {
^^^^^^
SyntaxError: Unexpected token 'export'
at internalCompileFunction (node:internal/vm:128:18)
at wrapSafe (node:internal/modules/cjs/loader:1280:20)
at Module._compile (node:internal/modules/cjs/loader:1332:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1427:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at cjsLoader (node:internal/modules/esm/translators:366:17)
at ModuleWrap.<anonymous> (node:internal/modules/esm/translators:315:7)
at ModuleJob.run (node:internal/modules/esm/module_job:222:25)
at async ModuleLoader.import (node:internal/modules/esm/loader:323:24)
Node.js v20.12.0
Using configuration file at C:\Users\pro-z\config.mjs
file:///C:/Users/pro-z/AppData/Roaming/npm/node_modules/gearbox-torrent/server/Requester.js:28
throw new Error(HTTP error ${response.status}: ${await response.text()}
)
^
Error: HTTP error 401:
Node.js v20.12.0
Sounds like the Windows-specific issue is resolved. However, you have found another limitation. We currently only support passwordless communication with Transmission.
Started another Issue https://github.com/mikabytes/gearbox/issues/10 for that.
I'll leave this issue open until we can confirm that Windows works correctly.
Confirmed, it now runs as expected on Windows. Closing this.