Skip to main content
在 Manus 中运行任何 Skill
一键导入

native-addon-loading

星标1
分支0
更新时间2026年6月25日 10:17

Diagnose and fix native (C/C++) Node.js addon loading in this repo's embedded nodejs-mobile runtime — the rolled-up backend's `__loadAddon` helper, Android `jniLibs/lib<name>__<version>.so` (bare-name dlopen from the APK mmap), and iOS `<name>__<version>.xcframework` (Embed & Sign into the .app). Use when a native module fails to load at runtime, when you see `dlopen`, `UnsatisfiedLinkError`, `cannot locate symbol`, `Library not loaded`, `image not found`, `code signature`, a `p_align`/16 KB alignment APK reject, or a prebuild-download/404 from `scripts/build-backend.ts`; or when touching `sodium-native`, `better-sqlite3`, `crc-native`, `quickbit-native`, `rabin-native`, `simdle-native`, `fs-native-extensions`, the rollup addon-loader plugin, `jniLibs`, or `ios/Frameworks`.

安装

用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。

SKILL.md
readonly