You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting an error when trying tto install coc on Android.
Reproduce the bug
Running npm ci results in the following error:
$ npm ci[##################] - reify:typescript: timing reifyNode:node_modules/caniuse-lite Completed in 3409ms
> @swc/core@1.4.2 postinstall
> node postinstall.jsError: Cannot find module '@swc/core-android-arm64'fyNode:node_modules/caniuse-lite Completed in 3409msRequire stack:- /data/data/com.termux/files/home/.vim/bundle/coc.nvim/node_modules/@swc/core/binding.js- /data/data/com.termux/files/home/.vim/bundle/coc.nvim/node_modules/@swc/core/postinstall.js at Module._resolveFilename (node:internal/modules/cjs/loader:1149:15) at Module._load (node:internal/modules/cjs/loader:990:27) at Module.require (node:internal/modules/cjs/loader:1237:19) at require (node:internal/modules/helpers:176:18) at Object.<anonymous> (/data/data/com.termux/files/home/.vim/bundle/coc.nvim/node_modules/@swc/core/binding.js:67:41) at Module._compile (node:internal/modules/cjs/loader:1378:14) at Module._extensions..js (node:internal/modules/cjs/loader:1437:10) at Module.load (node:internal/modules/cjs/loader:1212:32) at Module._load (node:internal/modules/cjs/loader:1028:12) at Module.require (node:internal/modules/cjs/loader:1237:19) { code: 'MODULE_NOT_FOUND', requireStack: [ '/data/data/com.termux/files/home/.vim/bundle/coc.nvim/node_modules/@swc/core/binding.js', '/data/data/com.termux/files/home/.vim/bundle/coc.nvim/node_modules/@swc/core/postinstall.js' ]}@swc/core was not able to resolve native bindings installation. It'll try to use @swc/wasm as fallback instead.[##################] \ reify:typescript: timing reifyNode:node_modules/caniuse-lite Completed in 3409ms
> esbuild@0.17.19 postinstall
> node install.js
> coc.nvim-master@0.0.82 prepare
> node esbuild.jsadded 559 packages, and audited 560 packages in 11s83 packages are looking for funding run `npm fund` for detailsfound 0 vulnerabilities
I can get around it with:
$ npm i @swc/core-android-arm64added 1 package, changed 1 package, and audited 562 packages in 4s83 packages are looking for funding run `npm fund` for detailsfound 0 vulnerabilities
But I have to do that from the coc folder installing the package globaly is not enough.
The text was updated successfully, but these errors were encountered:
I didn't test with Termux, from the logs, swc couldn't install native binary but fallback to wasm one, the installation was completed to run npm run build, coc.nvim's building is successful.
I'm getting an error when trying tto install
coc
on Android.Reproduce the bug
Running
npm ci
results in the following error:I can get around it with:
But I have to do that from the coc folder installing the package globaly is not enough.
The text was updated successfully, but these errors were encountered: