현상
wasm 파일을 생성하고, ionic serve 실행 시 웹 콘솔에서 아래와 같은 이슈가 발생
wasm streaming compile failed: LinkError: WebAssembly.instantiate(): Import #34 "a" "I": function import requires a callable
원인
https://github.com/capacitor-community/sqlite/issues/631
feat: update to sql.js 1.13.0 · Issue #631 · capacitor-community/sqlite
Updating sql.js to 1.13.0 causes errors like "LinkError: WebAssembly.instantiate(): Import sql-js/sql.js#34 "a" "I": function import requires a callable" Either jeep-sqlite is causing it or the sql...
github.com
해결책
package.json에 버전 고정
"sql.js": "1.12.0",
'개발 일반 > 프로젝트' 카테고리의 다른 글
부정선거 증거 확인을 위한 선관위 Chrome 확장프로그램 (0) | 2025.01.18 |
---|---|
프로젝트 회고 (1) | 2023.12.20 |
최근댓글