-
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
4.0.3 无法使用原生模块 #16183
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jul 27, 2024
This was referenced Aug 3, 2024
vue3 也是这样 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
git@github.com:NervJS/taro-sample-weapp.git
小程序基础库: 3.5.1
使用框架: React
复现步骤
按照官方文档即可复现
https://docs.taro.zone/docs/next/hybrid
期望结果
能够正常使用原生混合
实际结果
👽 Taro v4.0.3
Tips:
Example:
$ set NODE_ENV=production && taro build --type weapp --watch
vite v4.5.3 building for production...
watching for file changes...
build started...
transforming (1) taro:compilernode:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: ENOENT: no such file or directory, open 'D:\Users\l7\Documents\xyfs_sys\packages\my_test0\src\components\image-cropper{{imgSrc}}'] {
errno: -4058,
code: 'ENOENT',
syscall: 'open',
path: 'D:\Users\l7\Documents\xyfs_sys\packages\my_test0\src\components\image-cropper\{{imgSrc}}'
}
Node.js v20.16.0
环境信息
The text was updated successfully, but these errors were encountered: