Problem installing pouchdb

-1

I'm having trouble installing pouchdb on my computer, I do not know what else to do.

C:\Users\yagos>npminstallpouchdb

  

[email protected]:\Users\yagos\node_modules\leveldown  prebuild-install||node-gyprebuild

prebuild-installWARNinstallNoprebuiltbinariesfound(target=10.14.2runtime=nodearch=x64platform=win32)

C:\ProgramFiles\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\n\\bin\node\gyp.js"rebuild) else (node" C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ bin \ node-gyp.js " gyp ERR! configure error gyp ERR! stack Error: Can not find Python executable "python", you can set the PYTHON env variable. gyp ERR! stack at PythonFinder.failNoPython (C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js: 484:19) gyp ERR! stack at PythonFinder. (C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ lib \ configure.js: 509:16) gyp ERR! stack at C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ graceful-fs \ polyfills.js: 284: 29 gyp ERR! stack at FSReqWrap.oncomplete (fs.js: 154: 21) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! "C: \ Program Files \ nodejs \ node_modules \ npm \ node_modules \ node-gyp \ bin \ node-gyp.js" "rebuild" gyp ERR! cwd C: \ Users \ yagos \ node_modules \ leveldown gyp ERR! node -v v10.14.2 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN enoent ENOENT: no such file or directory, open 'C: \ Users \ yagos \ package.json' npm WARN yagos No description npm WARN yagos No repository field. npm WARN yagos No README data npm WARN yagos No license field.

npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: prebuild-install || node-gyp rebuild npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! C: \ Users \ iagos \ AppData \ Roaming \ npm-cache_logs \ 2018-12-21T17_17_22_141Z-debug.log

    
asked by anonymous 21.12.2018 / 18:21

1 answer

0

I ran Cmd with Administrator and gave the command: npm install node-gyp , and the problem was solved.

    
21.12.2018 / 18:35