admin管理员组文章数量:1415145
Me making a tauri-app like Tauri's guide. I run tauri android init
then ok, but it happens that after running npm run tauri android build --apk
, I receive an error:
Error: Cannot find module '/home/My-user/My-folder/tauri-app/src-tauri/tauri'
at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
at Module._load (node:internal/modules/cjs/loader:985:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
But if the Tauri guide do not generate a Tauri module in src
, then would it really need to exist? Because I previously compiled it for APK and until then I didn't need it.
My variables be ok.
- OS: Fedora@latest
- Java 17
I need compile de tauri-app to APK. I try npm run tauri android build --apk
, but I receive an error.
本文标签: apkTauri v2quotCannot find modulequot error (in Fedora Linux)Stack Overflow
版权声明:本文标题:apk - Tauri v2 - "Cannot find module" error (in Fedora Linux) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745211490a2647912.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论