QQ扫一扫联系
https://modstart.com/doc/manual/uniapp.html#_1-准备工作
看了上面这个方法操作
这个是系统文件 → 打开目录
D:\phpstudy_pro\WWW\wwwroot\module\WenkuMobile\resources\mobile
运行HBuilderX
chrome 浏览 项目出错了
12:45:57.870 项目 mobile 开始编译
12:45:58.338 node:os:68
12:45:58.338 throw new ERR_SYSTEM_ERROR(ctx);
12:45:58.338 ^
12:45:58.338 SystemError [ERR_SYSTEM_ERROR]: A system error occurred: uv_os_gethostname returned ENOSYS (function not implemented)
12:45:58.338 at new Defaults (D:\phpstudy_pro\WWW\wwwroot\module\WenkuMobile\resources\mobile\node_modules\@achrinza\node-ipc\entities\Defaults.js:26:20)
12:45:58.338 at new Parser (D:\phpstudy_pro\WWW\wwwroot\module\WenkuMobile\resources\mobile\node_modules\@achrinza\node-ipc\entities\EventParser.js:8:14)
12:45:58.338 at Object.<anonymous> (D:\phpstudy_pro\WWW\wwwroot\module\WenkuMobile\resources\mobile\node_modules\@achrinza\node-ipc\dao\client.js:11:19)
12:45:58.338 at Module._compile (node:internal/modules/cjs/loader:1126:14)
12:45:58.338 at Object.Module._extensions..js (node:internal/modules/cjs/loader:1180:10)
12:45:58.338 at Module.load (node:internal/modules/cjs/loader:1004:32)
12:45:58.338 at Function.Module._load (node:internal/modules/cjs/loader:839:12)
12:45:58.338 at Module.require (node:internal/modules/cjs/loader:1028:19)
12:45:58.338 at require (node:internal/modules/cjs/helpers:102:18)
12:45:58.338 at Object.<anonymous> (D:\phpstudy_pro\WWW\wwwroot\module\WenkuMobile\resources\mobile\node_modules\@achrinza\node-ipc\services\IPC.js:4:14) {
12:45:58.338 code: 'ERR_SYSTEM_ERROR',
12:45:58.338 info: {
12:45:58.338 errno: -4054,
12:45:58.338 code: 'ENOSYS',
12:45:58.338 message: 'function not implemented',
12:45:58.338 syscall: 'uv_os_gethostname'
12:45:58.338 },
12:45:58.338 errno: [Getter/Setter],
12:45:58.338 syscall: [Getter/Setter]
12:45:58.338 }
12:45:58.338 已停止运行...
应该是依赖未安装完全成功导致的。