New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
install No prebuilt binaries found (target=v4.4.7 arch=x64 platform=win32) #5
Comments
Since there are no prebuilt binaries, you may need to set up your machine for Windows native modules. You'll need to install a special npm package using Power Shell in Admin mode, but it should work: https://github.com/Microsoft/nodejs-guidelines/blob/master/windows-environment.md#environment-setup-and-configuration |
I can confirm it works on Windows 10 x64. |
yes that is usually the fix for Node native Windows stuff |
please reopen if that doesn't work |
help me!!!!!! npm i serialport
prebuild-install WARN install No prebuilt binaries found (target=8.9.4 runtime=node arch=x64 platform=win32) C:\Users\sony vaio\Desktop\AappProyectoSitioweb\node_modules@serialport\bindings>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 ) npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
Please see #11 (comment) |
Necesito ayuda porfavor C:\Users\amand\OneDrive\Escritorio\proyectojaja\node_jaja\node_modules\serialport>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 ) npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: |
hello nolan.
please help me.
i'm spend many time for install pouchdb in windows but this github solution not work for me.
i need level db in project and leveldown dont install.
i'm don't want browser database and i want use pouchdb in one desktop app with no dependency to browser.i used nedb but file database is plaintext and security is very important for me .
leveldown madule delete from hello-electron-with-pouchdb\node_modules\pouchdb\node_modules after prebuild --install command then show this error
postinstall.sh: line 5: cd: node_modules/leveldown: No such file or directory
D:\test 3>git clone https://github.com/nolanlawson/hello-electron-with-pouchdb
Cloning into 'hello-electron-with-pouchdb'...
remote: Counting objects: 87, done.
remote: Total 87 (delta 0), reused 0 (delta 0), pack-reused 87
Unpacking objects: 100% (87/87), done.
Checking connectivity... done.
D:\test 3>cd hello-electron-with-pouchdb
D:\test 3\hello-electron-with-pouchdb>npm install
npm WARN package.json hello-electron-with-pouchdb@1.0.0 No repository field.
npm WARN package.json hello-electron-with-pouchdb@1.0.0 No license field.
npm WARN deprecated tough-cookie@2.2.2: ReDoS vulnerability parsing Set-Cookie https://nodesecurity.io/advisories/130
|
|
[sqlite3] Success: "D:\test 3\hello-electron-with-pouchdb\node_modules\pouchdb\node_modules\websql\node_modules\sqlite3\lib\binding\node-v46-win32-x64
\node_sqlite3.node" is installed via remote
prebuild WARN install No prebuilt binaries found (target=v4.4.7 arch=x64 platform=win32)
prebuild ERR! configure error
prebuild ERR! stack Error: Can't find Python executable "python2.7", you can set the PYTHON env variable.
prebuild ERR! stack at failNoPython (D:\test 3\hello-electron-with-pouchdb\node_modules\pouchdb\node_modules\leveldown\node_modules\prebuild\node_
modules\node-gyp\lib\configure.js:449:14)
prebuild ERR! stack at D:\test 3\hello-electron-with-pouchdb\node_modules\pouchdb\node_modules\leveldown\node_modules\prebuild\node_modules\node-g
yp\lib\configure.js:404:11
prebuild ERR! stack at FSReqWrap.oncomplete (fs.js:82:15)
prebuild ERR! not ok
prebuild ERR! build Error: Can't find Python executable "python2.7", you can set the PYTHON env variable.
prebuild ERR! build at failNoPython (D:\test 3\hello-electron-with-pouchdb\node_modules\pouchdb\node_modules\leveldown\node_modules\prebuild\node_
modules\node-gyp\lib\configure.js:449:14)
prebuild ERR! build at D:\test 3\hello-electron-with-pouchdb\node_modules\pouchdb\node_modules\leveldown\node_modules\prebuild\node_modules\node-g
yp\lib\configure.js:404:11
prebuild ERR! build at FSReqWrap.oncomplete (fs.js:82:15)
npm WARN optional dep failed, continuing leveldown@1.4.6
postinstall.sh: line 5: cd: node_modules/leveldown: No such file or directory
postinstall.sh: line 7: ../.bin/node-gyp: No such file or directory
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "D:\nodejs\node.exe" "D:\nodejs\node_modules\npm\bin\npm-cli.js" "install"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! file C:\Windows\system32\cmd.exe
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! hello-electron-with-pouchdb@1.0.0 postinstall:
bash postinstall.sh
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the hello-electron-with-pouchdb@1.0.0 postinstall script 'bash postinstall.sh'.
npm ERR! This is most likely a problem with the hello-electron-with-pouchdb package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! bash postinstall.sh
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs hello-electron-with-pouchdb
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls hello-electron-with-pouchdb
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\test 3\hello-electron-with-pouchdb\npm-debug.log
The text was updated successfully, but these errors were encountered: