-
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
Webpack5启动时报告Invalid option from onResolve() callback in plugin "scanImports": "importer" #13767
Comments
+1 |
+1 怎么解决呢? |
@zhangzy56 先降级@tarojs/webpack5-runner到3.6.5 |
+1 |
降级之后出现这个错误, |
该问题将在下一个版本修复,当前可以通过以下方法规避:
类型问题,可以忽略,也可以在 typing 文件夹下新增依赖跳过该问题,参考这里 |
+1 |
1 similar comment
+1 |
+10086 |
1 similar comment
+10086 |
升级到Taro v3.6.7,dev:weapp 还是会出现 devInvalid option from onResolve() callback in plugin "scanImports": "importer"。 |
升级到Taro v3.6.7,这个问题还是有 |
升级到3.6.7问题依旧存在 |
compiler: {
type: 'webpack5',
// https://github.com/NervJS/taro/issues/13271
prebundle: {
enable: false,
},
}, 关闭 prebundle 可临时跳过 |
#13768 does not fix this. |
|
+1 |
升级到3.6.7问题依旧存在 |
待下一个版本发布 |
[ERROR] [plugin scanImports] Invalid option from onResolve() callback in plugin "scanImports": "importer" 依然存在 |
升级到3.6.7问题依然存在 |
升级到3.6.8后,
会报如下错误
|
处理了吗?我也遇到这个问题了 |
+1 |
2 similar comments
+1 |
+1 |
这bug怎么关了,解决了吗 |
请问下这个问题是怎么解决的啊,整了两天了。。。。。 |
升到3.6.10解决 |
3.6.11还是报这个错,引入本地less文件就会 |
相关平台
微信小程序
小程序基础库: 无关
使用框架: React
复现步骤
期望结果
无错误
实际结果
报错
环境信息
补充信息
taro/packages/taro-helper/src/esbuild/utils.ts
Line 5 in 1cc9410
报错是因为这里的实现有问题,
args
里包含importer
字段,但是返回结果不允许包含除这些之外其他字段。The text was updated successfully, but these errors were encountered: