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
We are trying to use PouchDB (preferred as a server) in the Node.js environment on iOS with a persistent database.
That probably requires native code compilation in all cases (e.g. sqlite3, leveldb) which fails when using the standard NPM packages (I can provide the error output, but doing an npm install sqlite3 or leveldb would be enough to reproduce).
In your sample project, you where using express-pouchdb with an in-memory database.
Do you have any hints how to make this work with a persistent database? Getting sqlite3 to work would probably be a giant step forward. Maybe there's already a fork that has been tweaked to make it work with Node.js on Mobile?
The text was updated successfully, but these errors were encountered:
Hi @klehmann ,
These samples use sqlite3 with nodejs-mobile-react-native and nodejs-mobile-cordova, which contain code to rebuild the modules that contain native code to mobile platforms:
We are trying to use PouchDB (preferred as a server) in the Node.js environment on iOS with a persistent database.
That probably requires native code compilation in all cases (e.g. sqlite3, leveldb) which fails when using the standard NPM packages (I can provide the error output, but doing an npm install sqlite3 or leveldb would be enough to reproduce).
In your sample project, you where using express-pouchdb with an in-memory database.
Do you have any hints how to make this work with a persistent database? Getting sqlite3 to work would probably be a giant step forward. Maybe there's already a fork that has been tweaked to make it work with Node.js on Mobile?
The text was updated successfully, but these errors were encountered: