Problem to install pouchdb

Asked

Viewed 168 times

-1

I’m having trouble installing pouchdb on my computer I don’t know what else to do. inserir a descrição da imagem aqui

C: Users yagos>npm install pouchdb

[email protected] install C: Users yagos node_modules leveldown prebuild-install || Node-Gyp rebuild

prebuild-install WARN install No prebuilt binaries found (target=10.14.2 Runtime=Node Arch=x64 Platform=Win32)

C:\Users\yagos\node_modules\leveldown>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (Node "C: Program Files nodejs node_modules npm node_modules Node-Gyp bin Node-Gyp.js" rebuild ) Gyp ERR! configure error Gyp ERR! stack Error: Can’t 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! command "C: Program Files nodejs Node.exe" "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 Icense 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 yagos Appdata Roaming npm-cache_logs 2018-12-21T17_17_22_141Z-debug.log

1 answer

0

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

Browser other questions tagged

You are not signed in. Login or sign up in order to post.