问题二:使用hbuilder打开项目运行,报错如下: failedtoload config from /xxxxxx/vite.config.ts09:37:26.975errorwhenstarting dev server:09:37:26.975Error:09:37:26.982You installed esbuildforanother platform than the one you'recur
failed to load config from /xxxxxx/vite.config.ts 09:37:26.975 error when starting dev server: 09:37:26.975 Error: 09:37:26.982 You installed esbuild for another platform than the one you're currently using. 09:37:26.983 This won't work because esbuild is written with native code and ...
failed to load config from /Users/sli/Desktop/test/my-vue3-project/vite.config.js 09:33:46.677 error when starting dev server: 09:33:46.682 Error: 09:33:46.683 You installed esbuild on another platform than the one you're currently using. 09:33:46.685 This won't work because esbuild ...
一直卡在Starting dev server,有大佬知道什么原因或者有什么排查方式吗?
uni-app跨域解决 记一下uni-app预览到H5时跨域问题 配置uni-app 中 manifest.json->h5->devServer manifest.json "h5": { "devServer": { "port": 8000, "disableHostCheck": true, "proxy": { "/api": { "target": "http://:xxxx",
09:37:26.975 error when starting dev server: 09:37:26.975 Error: 09:37:26.982 You installed esbuild for another platform than the one you're currently using. 09:37:26.983 This won't work because esbuild is written with native code and needs to ...
在uniapp项目中,devServer 的配置通常位于 manifest.json 文件的 h5 属性下。以下是一个配置示例: json { "h5": { "devServer": { "host": "0.0.0.0", // 允许局域网访问 "port": "8082", // 自定义端口 "client": { "progress": true, // 显示进度条 "overlay": false // 不弹窗提示错误信...
HBuilderX类型: 正式 HBuilderX版本号: 3.7.9 浏览器平台: Chrome 浏览器版本: 118.0.5993.89 示例代码: 10:07:41.513 error when starting dev server: 10:07:41.522 Error: 10:07:41.530 You installed esbuild for another platform than the one you’re currently using. 10:07:41.537 This won’t wo...
复现步骤 [复现问题的步骤] 启动'...' 点击'...' 查看 [或者可以直接贴源代码] 预期结果 正常运行 实际结果 failed to load config from C:\workspace\wallet4\vite.config.js error when starting dev server: Error: Cannot find module '@dcloudio\uni-mp-baidu\lib\uni.plugin.js' Require...