Level / leveldown-mobile

This project has been abandoned.
MIT License
27 stars 8 forks source link

IOS wrong architecture : leveldown-nodejs-mobile #23

Open Linoy339 opened 4 years ago

Linoy339 commented 4 years ago

Hi, I am getting this error while we try compiling using leveldown-nodejs-mobile.

{ Error: dlopen(/private/var/mobile/Containers/Data/Application/D1BA5C5F-4140-4E74-86E9-DA126EA579D2/Documents/nodejs-project/api/node_modules/leveldown/build/Release/leveldown.node, 1): no suitable image found. Did find: /private/var/mobile/Containers/Data/Application/D1BA5C5F-4140-4E74-86E9-DA126EA579D2/Documents/nodejs-project/api/node_modules/leveldown/build/Release/leveldown.node: mach-o, but wrong architecture /private/var/mobile/Containers/Data/Application/D1BA5C5F-4140-4E74-86E9-DA126EA579D2/Documents/nodejs-project/api/node_modules/leveldown/build/Release/leveldown.node: mach-o, but wrong architecture at bindings (/private/var/mobile/Containers/Data/Application/D1BA5C5F-4140-4E74-86E9-DA126EA579D2/Documents/nodejs-project/api/node_modules/bindings/bindings.js:121:9)

Do any body have a resolution. Thanks in advance

Linoy339 commented 4 years ago

Hi all, I am trying to establish offline db using pouch db in mobile. As the leveldown did not work in mobile, I followed the link below: https://www.npmjs.com/package/leveldown-nodejs-mobile and installed it. This says that it supports IOS and Android. But the result is an error "no suitable image found".

Can somebody help on this?

IbrahimCanKALYA commented 3 years ago

@Linoy339 did u find any solution of this issue because i'm getting same error with node-re2 lib on react-native thank in advence