新建vue3版本项目运行
- 发布:2022-11-04 11:32
- 更新:2023-02-03 19:27
- 阅读:804
产品分类: HbuilderX
PC开发环境操作系统: Mac
PC开发环境操作系统版本号: 10.12.6
HBuilderX版本号: 3.6.4
操作步骤:
预期结果:
编译成功
编译成功
实际结果:
dyld: Symbol not found: _SecTrustEvaluateWithError
11:31:17.651 Referenced from: /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild-darwin-64/bin/esbuild
11:31:17.652 Expected in: flat namespace
11:31:17.668 failed to load config from /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/vite.config.js
11:31:17.668 error when starting dev server:
11:31:17.684 Error: The service was stopped: write EPIPE
11:31:17.684 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild/lib/main.js:1335:25
11:31:17.701 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild/lib/main.js:666:9
11:31:17.701 at Socket.afterClose (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild/lib/main.js:644:7)
11:31:17.717 at Socket.emit (events.js:314:20)
11:31:17.718 at errorOrDestroy (internal/streams/destroy.js:108:12)
11:31:17.734 at onwriteError (_stream_writable.js:418:5)
11:31:17.735 at onwrite (_stream_writable.js:445:5)
11:31:17.750 at internal/streams/destroy.js:50:7
11:31:17.751 at Socket._destroy (net.js:680:5)
11:31:17.768 at Socket.destroy (internal/streams/destroy.js:38:8)
dyld: Symbol not found: _SecTrustEvaluateWithError
11:31:17.651 Referenced from: /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild-darwin-64/bin/esbuild
11:31:17.652 Expected in: flat namespace
11:31:17.668 failed to load config from /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/vite.config.js
11:31:17.668 error when starting dev server:
11:31:17.684 Error: The service was stopped: write EPIPE
11:31:17.684 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild/lib/main.js:1335:25
11:31:17.701 at /Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild/lib/main.js:666:9
11:31:17.701 at Socket.afterClose (/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/esbuild/lib/main.js:644:7)
11:31:17.717 at Socket.emit (events.js:314:20)
11:31:17.718 at errorOrDestroy (internal/streams/destroy.js:108:12)
11:31:17.734 at onwriteError (_stream_writable.js:418:5)
11:31:17.735 at onwrite (_stream_writable.js:445:5)
11:31:17.750 at internal/streams/destroy.js:50:7
11:31:17.751 at Socket._destroy (net.js:680:5)
11:31:17.768 at Socket.destroy (internal/streams/destroy.js:38:8)
bug描述:
2022-11-04 11:31:16.359 [INFO:] [RunWeApp] appid: "UNID93FC32" mp_appid: "" name: "lovincharm_postcard"
2022-11-04 11:31:16.762 [INFO:] node "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/node/node"
2022-11-04 11:31:16.762 [INFO:] args ("--max-old-space-size=2048", "/Applications/HBuilderX.app/Contents/HBuilderX/plugins/uniapp-cli-vite/node_modules/@dcloudio/vite-plugin-uni/bin/uni.js")
1 个回复
rok138
我也遇到类似的问题:新建的vite空项目,yarn dev后,每次开机的第一次都是报1处错误,第二次yarn dev后才正常