-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
执行dev:tt命令时报错插件加载失败 #16515
Milestone
Comments
This was referenced Sep 14, 2024
+1 步骤:
|
@lihe6666 可以先手动安装 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
字节跳动小程序
小程序基础库: 无
使用框架: React
复现步骤
直接执行yarn dev:tt即可
期望结果
不报错,能够继续运行
实际结果
Error: Cannot find module 'webpack-sources'
Require stack:
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:1140:15)
at Function.Module._load (node:internal/modules/cjs/loader:981:27)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object. (E:\公司代码\taro\taro-front\node_modules@tarojs\plugin-platform-tt\dist\index.js:5:22)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Object.newLoader [as .js] (E:\公司代码\taro\taro-front\node_modules\pirates\lib\index.js:121:7)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Function.Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'E:\公司代码\taro\taro-front\node_modules\@tarojs\plugin-platform-tt\dist\index.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\plugin-platform-tt\index.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\service\dist\utils\index.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\service\dist\Kernel.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\service\dist\index.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\service\index.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\cli\dist\cli.js',
'E:\公司代码\taro\taro-front\node_modules\@tarojs\cli\bin\taro'
]
}
E:\公司代码\taro\taro-front\node_modules@tarojs\service\dist\utils\index.js:89
throw new Error(
插件依赖 "${item}" 加载失败,请检查插件配置
);环境信息
The text was updated successfully, but these errors were encountered: