From 76df67db6ad67da2ac36ee04b53b5df622a3b10c Mon Sep 17 00:00:00 2001 From: chy Date: Mon, 2 Mar 2026 11:55:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E5=90=AF=E5=8A=A8=E8=AF=B4?= =?UTF-8?q?=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 启动说明.txt | 24 +++++++++++++++++++++++- 1 file changed, 23 insertions(+), 1 deletion(-) diff --git a/启动说明.txt b/启动说明.txt index 272fb8e..2aaec1c 100644 --- a/启动说明.txt +++ b/启动说明.txt @@ -18,4 +18,26 @@ pnpm run dev 打包: -pnpm run build:prod \ No newline at end of file +pnpm run build:prod + + + +如果报错(npm启动Taro框架报错) +Error: The specified module could not be found. +\\?\C:\Users\admin\Desktop\app\node_modules\@tarojs\plugin-doctor-win32-x64-msvc\taro-doctor.win32-x64-msvc.node + at Object.Module._extensions..node (node:internal/modules/cjs/loader:1651:18) + at Module.load (node:internal/modules/cjs/loader:1275:32) + at Function.Module._load (node:internal/modules/cjs/loader:1096:12) + at Module.require (node:internal/modules/cjs/loader:1298:19) + at require (node:internal/modules/helpers:182:18) + at Object. (C:\Users\admin\Desktop\app\node_modules\@tarojs\plugin-doctor\js-binding.js:72:29) + at Module._compile (node:internal/modules/cjs/loader:1529:14) + at Module._extensions..js (node:internal/modules/cjs/loader:1613:10) + at Object.newLoader [as .js] (C:\Users\admin\Desktop\app\node_modules\pirates\lib\index.js:134:7) + at Module.load (node:internal/modules/cjs/loader:1275:32) { + code: 'ERR_DLOPEN_FAILED' +} + +需安装插件 +直接在Microsoft Visual C++ Redistributable latest supported downloads下载最新的VC++插件并安装,问题直接解决。 +https://learn.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170#latest-supported-redistributable-version \ No newline at end of file