运到到H5时出现的报错。切换到上个版本不会报错
- 发布:2022-04-21 06:12
- 更新:2022-04-24 11:34
- 阅读:979
产品分类: HbuilderX
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: 10
HBuilderX版本号: 3.4.6
操作步骤:
预期结果:
运到到H5时出现的报错。切换到上个版本不会报错
运到到H5时出现的报错。切换到上个版本不会报错
实际结果:
运到到H5时出现的报错。切换到上个版本不会报错
运到到H5时出现的报错。切换到上个版本不会报错
bug描述:
运到到H5时出现的报错。切换到上个版本不会报错
报错文本:
06:06:38.139 (node:22824) UnhandledPromiseRejectionWarning: RangeError [ERR_SOCKET_BAD_PORT]: options.port should be >= 0 and < 65536. Received .
06:06:38.142 at validatePort (internal/validators.js:182:11)
06:06:38.142 at Server.listen (net.js:1442:5)
06:06:38.144 at Server.httpServer.listen (D:\文本编辑器\HBuilderX\plugins\uniapp-cli-vite\node_modules\vite\dist\node\chunks\dep-27bc1ab8.js:59223:20)
06:06:38.145 (node:22824) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag --unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
06:06:38.148 (node:22824) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.