Open Linoy339 opened 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?
@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
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