-
Notifications
You must be signed in to change notification settings - Fork 1.2k
leveldown : No native build was found for platform=linux arch=x64 runtime=electron abi=82 uv=1 libc=glibc node=12.16.3 electron=10.2.0 webpack=true #3525
Comments
I think you are seeing more problems related to conflicting or misconfigured build tools as in #3508 I suggest you start from the run-in-electron example which gives you a minimal setup for running IPFS under electron, then add your extra dependencies/build tools one by one until you start seeing errors. |
I didn't explain before. This is the package.json :
leveldown, the package involved in this issues is used only by the packages used by ipfs:
In the minimal electron setup suggested in the example: https://github.com/ipfs/js-ipfs/blob/master/examples/run-in-electron/package.json I do not see electron-forge. Does it mean that ipfs does not work with electron-forge? |
I'm proceeding as you suggested and till now I do not have problems. But I'm confident that I will discover the "culprit". |
In Electron-Typescript app I'm having this issue:
in main.ts :
Looking for the package
leveldown
, I found it is used by ipfs :I searched and found that someone else had the same problem, which solved in this way: electron/electron#20075 (comment)
I've put
in webpack.main.js :
and in webpack.plugin.js :
but didn't the solve the problem.
This is the package.json:
I have opened an issue also in LevelDown github's page: Level/leveldown#756
The text was updated successfully, but these errors were encountered: