Pouch DB not working in android
Hi, Pouch DB is working fine in iOS device but not working in Android (Samsung Device).
Could you provide more information?
It works for me on Android.
hi, I just tested on Windows 10 with Android (no matter the version) , Node 16 installed , and no "D" !!(hopefully) - last 0.70 release of RN...
I follow the dev instructions https://github.com/seigel/pouchdb-react-native#development and got :
>npm install npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. npm WARN deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version. npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated [email protected]: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. (https://github.com/visionmedia/debug/issues/797) npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated [email protected]: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm WARN deprecated [email protected]: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated [email protected]: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated [email protected]: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated [email protected]: support for ECMAScript is superseded by uglify-js` as of v3.13.0
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
npm WARN deprecated [email protected]: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
[email protected] postinstall for D in ./packages/*; do cd $D; npm install; cd -; done && cd example && npm install && cd ../pouchdb-original && npm install
D était inattendu. npm ERR! code 1 npm ERR! path C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c for D in ./packages/*; do cd $D; npm install; cd -; done && cd example && npm install && cd ../pouchdb-original && npm install
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\info\AppData\Local\npm-cache_logs\2022-10-24T15_21_11_966Z-debug-0.log
C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native>npm test
[email protected] test echo 'have to repear test'
'have to repear test'
C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native>cd example
C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native\example>npm run android
[email protected] android node ./node_modules/react-native/local-cli/cli.js run-android
node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module 'C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native\example\node_modules\react-native\local-cli\cli.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }`
I can help to test a more uptodate version but please avoid the automatic install on "D..." I do not like that .
Thanks for the feedback. I'll see what I can do to figure out what is going on. If you have ideas on how to fix the problem, please let me know!
Cheers james
On Mon, Oct 24, 2022 at 9:26 AM Prx - William @.***> wrote:
hi, I just tested on Windows 10 with Android (no matter the version) , Node 16 installed , and no "D" !!(hopefully)
I follow the dev instructions https://github.com/seigel/pouchdb-react-native#development and got :
npm install npm WARN old lockfile npm WARN old lockfile The package-lock.json file was created with an old version of npm, npm WARN old lockfile so supplemental metadata must be fetched from the registry. npm WARN old lockfile npm WARN old lockfile This is a one-time fix-up, please be patient... npm WARN old lockfile npm WARN deprecated @.: Critical bug fixed in v3.0.1, please upgrade to the latest version. npm WARN deprecated @.: Critical bug fixed in v3.0.1, please upgrade to the latest version. npm WARN deprecated @.: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated @.: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated @.: CircularJSON is in maintenance only, flatted is its successor. npm WARN deprecated @.: Debug versions =3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 have a low-severity ReDos regression when used in a Node.js environment. It is recommended you upgrade to 3.2.7 or 4.3.1. ( https://github.com/visionmedia/debug/issues/797) npm WARN deprecated @.: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated @.: Deprecated due to CVE-2021-21366 resolved in 0.5.0 npm WARN deprecated @.: some dependency vulnerabilities fixed, support for node < 10 dropped, and newer ECMAScript syntax/features added npm WARN deprecated @.: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated @.: babel-eslint is now @babel/eslint-parser. This package will no longer receive updates. npm WARN deprecated @.: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated @.: Legacy versions of mkdirp are no longer supported. Please update to mkdirp 1.x. (Note that the API surface has changed to use Promises in 1.x.) npm WARN deprecated @.: support for ECMAScript is superseded by uglify-js` as of v3.13.0 npm WARN deprecated @.: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js. npm WARN deprecated @.***: core-js@<3.23.3 is no longer maintained and not recommended for usage due to the number of issues. Because of the V8 engine whims, feature detection in old core-js versions could cause a slowdown up to 100x even if nothing is polyfilled. Some versions have web compatibility issues. Please, upgrade your dependencies to the actual version of core-js.
@.*** postinstall for D in ./packages/*; do cd $D; npm install; cd -; done && cd example && npm install && cd ../pouchdb-original && npm install
D était inattendu. npm ERR! code 1 npm ERR! path C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c for D in ./packages/*; do cd $D; npm install; cd -; done && cd example && npm install && cd ../pouchdb-original && npm install
npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\info\AppData\Local\npm-cache_logs\2022-10-24T15_21_11_966Z-debug-0.log
C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native>npm test
@.*** test echo 'have to repear test'
'have to repear test'
C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native>cd example
C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native\example>npm run android
@.*** android node ./node_modules/react-native/local-cli/cli.js run-android
node:internal/modules/cjs/loader:936 throw err; ^
Error: Cannot find module 'C:\Users\info\Downloads\Pouchdbseigel\pouchdb-react-native\example\node_modules\react-native\local-cli\cli.js' at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15) at Function.Module._load (node:internal/modules/cjs/loader:778:27) at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12) at node:internal/main/run_main_module:17:47 { code: 'MODULE_NOT_FOUND', requireStack: [] }`
— Reply to this email directly, view it on GitHub https://github.com/seigel/pouchdb-react-native/issues/119#issuecomment-1289207947, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADWTP3KTD75D2LBSU4XULWE2TAVANCNFSM4HDQISHQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>