Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: fixes "url" argument must be of type string with nodejs 20
node:internal/errors:541 throw error; ^ TypeError [ERR_INVALID_ARG_TYPE]: The "url" argument must be of type string. Received undefined at Url.parse (node:url:170:3) at Object.urlParse [as parse] (node:url:141:13) at new FtpServer (C:\work\xemu\xemu-bsp-list\ftp-srv\src\index.js:34:24) at startFtpServer (C:\work\xemu\xemu-bsp-list\ftp-srv\bin\index.js:133:21) at Object.<anonymous> (C:\work\xemu\xemu-bsp-list\ftp-srv\bin\index.js:11:1) at Module._compile (node:internal/modules/cjs/loader:1369:14) 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 Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12) at node:internal/main/run_main_module:28:49 { code: 'ERR_INVALID_ARG_TYPE' } Node.js v20.12.0
- Loading branch information