I looked for similar issues but none really worked for me. Here's the error message;
Installing “term3#0.22.1” failed.Hide output…
ptyw.js#0.4.1 install /tmp/apm-install-dir-119923-3780-17r1b00.uzsy/node_modules/term3/node_modules/ptyw.js
node-gyp rebuild
npm WARN deprecated react-tools#0.11.2: react-tools is deprecated.
npm WARN deprecated graceful-fs#2.0.3: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated minimatch#0.3.0: Please update to minimatch 3.0.2 or higher to avoid a RegExp DoS issue
gyp WARN install got an error, rolling back install
gyp ERR! configure error
gyp ERR! stack Error: This is most likely not a problem with node-gyp or the package itself and
gyp ERR! stack is related to network connectivity. In most cases you are behind a proxy or have bad
gyp ERR! stack network settings.
gyp ERR! stack at Request.<anonymous> (/snap/atom/238/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/lib/install.js:197:21)
gyp ERR! stack at Request.emit (events.js:182:13)
gyp ERR! stack at Request.onRequestError (/snap/atom/238/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/request/request.js:884:8)
gyp ERR! stack at ClientRequest.emit (events.js:182:13)
gyp ERR! stack at TLSSocket.socketErrorListener (_http_client.js:382:9)
gyp ERR! stack at TLSSocket.emit (events.js:182:13)
gyp ERR! stack at emitErrorNT (internal/streams/destroy.js:82:8)
gyp ERR! stack at emitErrorAndCloseNT (internal/streams/destroy.js:50:3)
gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19)
gyp ERR! System Linux 5.0.0-32-generic
gyp ERR! command "/snap/atom/238/usr/share/atom/resources/app/apm/bin/node" "/snap/atom/238/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /tmp/apm-install-dir-119923-3780-17r1b00.uzsy/node_modules/term3/node_modules/ptyw.js
gyp ERR! node -v v10.2.1
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-119923-3780-17r1b00.uzsy/package.json'
npm WARN apm-install-dir-119923-3780-17r1b00.uzsy No description
npm WARN apm-install-dir-119923-3780-17r1b00.uzsy No repository field.
npm WARN apm-install-dir-119923-3780-17r1b00.uzsy No README data
npm WARN apm-install-dir-119923-3780-17r1b00.uzsy No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! ptyw.js#0.4.1 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ptyw.js#0.4.1 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! /home/mathieu/.atom/.apm/_logs/2019-10-23T13_29_53_626Z-debug.log
I tried to look for resolve the issue looking inside /.atom/.apm/_logs
1996 warn enoent ENOENT: no such file or directory, open '/tmp/apm-install-dir-119923-3780-17r1b00.uzsy/package.json'
1997 verbose enoent This is related to npm not being able to find a file.
1998 warn apm-install-dir-119923-3780-17r1b00.uzsy No description
1999 warn apm-install-dir-119923-3780-17r1b00.uzsy No repository field.
2000 warn apm-install-dir-119923-3780-17r1b00.uzsy No README data
2001 warn apm-install-dir-119923-3780-17r1b00.uzsy No license field.
2002 verbose stack Error: ptyw.js#0.4.1 install: `node-gyp rebuild`
2002 verbose stack Exit status 1
2002 verbose stack at EventEmitter.<anonymous> (/snap/atom/238/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/index.js:304:16)
2002 verbose stack at EventEmitter.emit (events.js:182:13)
2002 verbose stack at ChildProcess.<anonymous> (/snap/atom/238/usr/share/atom/resources/app/apm/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
2002 verbose stack at ChildProcess.emit (events.js:182:13)
2002 verbose stack at maybeClose (internal/child_process.js:961:16)
2002 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
2003 verbose pkgid ptyw.js#0.4.1
2004 verbose cwd /tmp/apm-install-dir-119923-3780-17r1b00.uzsy
2005 verbose Linux 5.0.0-32-generic
2006 verbose argv "/snap/atom/238/usr/share/atom/resources/app/apm/bin/node" "/snap/atom/238/usr/share/atom/resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/mathieu/.atom/.apm/.apmrc" "--userconfig" "/home/mathieu/.atom/.apmrc" "install" "https://www.atom.io/api/packages/term3/versions/0.22.1/tarball" "--target=3.1.10" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
2007 verbose node v10.2.1
2008 verbose npm v6.2.0
2009 error code ELIFECYCLE
2010 error errno 1
2011 error ptyw.js#0.4.1 install: `node-gyp rebuild`
2011 error Exit status 1
2012 error Failed at the ptyw.js#0.4.1 install script.
2012 error This is probably not a problem with npm. There is likely additional logging output above.
2013 verbose exit [ 1, true ]
It seems to be a network issue. I looked for a proxy installed but found nothing. I'm relatively new to IT and I would really like to understand the problem so I can fix it.
I have also install other packages without any issue.
I appreciate any direction, suggestions and solutions. Thank you !
Related
I've been trying to use these programs but it won't install. I get this message when trying to install sqlite 3. And when i do "node ." it just tells me to install it manually and i looked up a tutorial but it wasn't JUST for discord.
C:\Users\roser\OneDrive\Desktop\ROSYBREE>npm install sqlite3
npm WARN deprecated request#2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated har-validator#5.1.5: this library is no longer supported
> sqlite3#5.0.1 install C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3
> node-pre-gyp install --fallback-to-build
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp WARN Tried to download(403): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v5.0.1/napi-v6-win32-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not found for sqlite3#5.0.1 and node#14.15.3 (node-v83 ABI, unknown) (falling back to source compile with node-gyp)
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
nothing.c
win_delay_load_hook.cc
nothing.vcxproj -> C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\build\Release\\nothing.lib
unpack_sqlite_dep
The system cannot find the path specified.
C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\IDE\VC\VCTargets\Microsoft.CppCommon.targets(209
,5): error MSB6006: "cmd.exe" exited with code 1. [C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\build\
deps\action_before_build.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:277:12)
gyp ERR! System Windows_NT 10.0.19041
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--module=C:\\Users\\roser\\OneDrive\\Desktop\\ROSYBREE\\node_modules\\sqlite3\\lib\\binding\\napi-v6-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\roser\\OneDrive\\Desktop\\ROSYBREE\\node_modules\\sqlite3\\lib\\binding\\napi-v6-win32-x64" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=6" "--node_napi_label=napi-v6"
gyp ERR! cwd C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3
gyp ERR! node -v v14.15.3
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\lib\binding\napi-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
node-pre-gyp ERR! System Windows_NT 10.0.19041
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\roser\\OneDrive\\Desktop\\ROSYBREE\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3
node-pre-gyp ERR! node -v v14.15.3
node-pre-gyp ERR! node-pre-gyp -v v0.11.0
node-pre-gyp ERR! not ok
Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --module=C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\lib\binding\napi-v6-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\roser\OneDrive\Desktop\ROSYBREE\node_modules\sqlite3\lib\binding\napi-v6-win32-x64 --napi_version=7 --node_abi_napi=napi --napi_build_version=6 --node_napi_label=napi-v6' (1)
npm WARN ROSYBREE#1.0.0 No description
npm WARN ROSYBREE#1.0.0 No repository field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! sqlite3#5.0.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3#5.0.1 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\roser\AppData\Roaming\npm-cache\_logs\2021-01-10T19_45_31_708Z-debug.log
When I try to install any packages at all the program shows an error. I have provided the error output below. I have already tried to uninstall and reinstall the editor to see if that out work but it unfortunately didnt. I also tried to look it up online to see if there were any solutions but was unable to find any. What shall I do to fix this error?
> prebuild-install || node scripts/install.js
C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt>if not defined npm_config_node_gyp (node "C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false ) else (node "C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild --build_v8_with_gn=false )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt\build\deps\winpty\src\winpty-agent.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt\build\deps\winpty\src\winpty.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.Cpp.Default.props" was not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
prebuild-install WARN install No prebuilt binaries found (target=3.1.10 runtime=electron arch=x64 libc= platform=win32)
gyp ERR! build error
gyp ERR! stack Error: `C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\User\AppData\Local\atom\app-1.39.1\resources\app\apm\node_modules\npm\node_modules\node-gyp\lib\build.js:262:23)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12)
gyp ERR! System Windows_NT 10.0.17134
gyp ERR! command "C:\\Users\\User\\AppData\\Local\\atom\\app-1.39.1\\resources\\app\\apm\\bin\\node.exe" "C:\\Users\\User\\AppData\\Local\\atom\\app-1.39.1\\resources\\app\\apm\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" "--build_v8_with_gn=false"
gyp ERR! cwd C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\node_modules\platformio-ide-terminal\node_modules\node-pty-prebuilt
gyp ERR! node -v v8.9.3
gyp ERR! node-gyp -v v3.7.0
gyp ERR! not ok
npm WARN enoent ENOENT: no such file or directory, open 'C:\Users\User\AppData\Local\Temp\apm-install-dir-119627-27096-1uti3m9.wklb\package.json'
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No description
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No repository field.
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No README data
npm WARN apm-install-dir-119627-27096-1uti3m9.wklb No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node-pty-prebuilt#0.7.6 install: `prebuild-install || node scripts/install.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node-pty-prebuilt#0.7.6 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\User\.atom\.apm\_logs\2019-07-26T23_05_19_362Z-debug.log
Update, August 20, 2019
The issue was fixed in Atom v1.40.1
Old answer
The said package is currently not working with Atom v1.39, since it includes a major update for the underlying Electron framework.
You can try and rebuild some of the package's native modules. To do so, run apm rebuild inside the ~/.atom/packages/platformio-ide-terminal folder.
If that doesn't work, a workaround is to downgrade Atom to v1.38.x and wait for a fix. You can follow this discussion or subscribe to the issue on GitHub for updates.
I'm trying to install Gekko and I get the following error:
node-pre-gyp ERR! Tried to download(undefined): https://mapbox-node-binary.s3.amazonaws.com/sqlite3/v3.1.13/node-v48-win32-x64.tar.gz
node-pre-gyp ERR! Pre-built binaries not found for sqlite3#3.1.13 and node#6.9.4 (node-v48 ABI) (falling back to source compile with node-gyp)
C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" clean ) else (node "" clean )
C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" configure --fallback-to-build "--module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node" --module_name=node_sqlite3 "--module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64" ) else (node "" configure --fallback-to-build "--module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node" --module_name=node_sqlite3 "--module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64" )
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 failNoPython (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:449:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:404:11
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:264:29
gyp ERR! stack at FSReqWrap.oncomplete (fs.js:123:15)
gyp ERR! System Windows_NT 10.0.16299
gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\SOBER CHECK\\Downloads\\gekko-develop\\gekko-develop\\node_modules\\sqlite3\\lib\\binding\\node-v48-win32-x64\\node_sqlite3.node" "--module_name=node_sqlite3" "--module_path=C:\\Users\\SOBER CHECK\\Downloads\\gekko-develop\\gekko-develop\\node_modules\\sqlite3\\lib\\binding\\node-v48-win32-x64"
gyp ERR! cwd C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3
gyp ERR! node -v v6.9.4
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\node_modules\node-pre-gyp\lib\util\compile.js:83:29)
node-pre-gyp ERR! stack at emitTwo (events.js:106:13)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:191:7)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:877:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)
node-pre-gyp ERR! System Windows_NT 10.0.16299
node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\SOBER CHECK\\Downloads\\gekko-develop\\gekko-develop\\node_modules\\sqlite3\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3
node-pre-gyp ERR! node -v v6.9.4
node-pre-gyp ERR! node-pre-gyp -v v0.6.38
node-pre-gyp ERR! not ok
Failed to execute 'node-gyp.cmd configure --fallback-to-build --module=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64\node_sqlite3.node --module_name=node_sqlite3 --module_path=C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\node_modules\sqlite3\lib\binding\node-v48-win32-x64' (1)
npm ERR! Windows_NT 10.0.16299
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "sqlite3"
npm ERR! node v6.9.4
npm ERR! npm v3.10.10
npm ERR! code ELIFECYCLE
npm ERR! sqlite3#3.1.13 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the sqlite3#3.1.13 install script 'node-pre-gyp install --fallback-to-build'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the sqlite3 package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs sqlite3
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls sqlite3
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\SOBER CHECK\Downloads\gekko-develop\gekko-develop\npm-debug.log
I'm on Windows 10 with Node version 6.9.4 and NPM version 3.10.10.
Please help - what can I do to resolve this and finish installing Gekko?
I've also posted this question as an issue on the Github repo, but I don't have much hope of a reply from there.
Any help to make this example more minimal (as in minimum verifiable example) or about any extra information required would be much appreciated; I don't know enough about this to ask an easily-answerable question.
installing sqlite 4.0.1 instead of 3.1.13 fixed it for me
Your linked GitHub issue was resolved with the solution of updating to sqlite3#^4.0.1. However, the commenters on your issue are using later versions of Node v9 or later Node v10 so this sqlite3 version upgrade may not fix your issue. Gekko updated to sqlite3 v4.0.2 in Gekko v0.6.3 so upgrade to that version or above, reinstall and then you'll be using the latest version of sqlite3 at the time of writing which contains the resolution for your issue.
All that said, looking at your error message, it appears that you don't have python available on your PATH:
Error: Can't find Python executable "python", you can set the PYTHON env variable.
So try both approaches - upgrade Gekko and ensure Python is installed and available within your environment.
I am trying to add accounts-password package to my project, but I get this error instead, I have no clue what causes it or how to fix it. I tried to run
meteor npm install node-gyp rebuild as mentioned in the error but it does not help...
...seed>meteor add accounts-password
=> Errors while adding packages:
While loading package npm-bcrypt#0.8.7:
error: Command failed:
C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86_
32\dev_bundle\bin\npm.cmd
rebuild --no-bin-links --update-binary
gyp ERR! build error
gyp ERR! stack Error:
`C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit
code: 1
gyp ERR! stack at ChildProcess.onExit
(C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86
_32\dev_bundle\lib\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild"
gyp ERR! cwd
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\node_modules\bcrypt
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! bcrypt#0.8.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt#0.8.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\npm-debug.log
gyp ERR! build error
gyp ERR! stack Error:
`C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe` failed with exit
code: 1
gyp ERR! stack at ChildProcess.onExit
(C:\Users\...\AppData\Local\.meteor\packages\meteor-tool\1.4.0-1\mt-os.windows.x86
_32\dev_bundle\lib\node_modules\node-gyp\lib\build.js:276:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit
(internal/child_process.js:200:12)
gyp ERR! System Windows_NT 6.1.7601
gyp ERR! command
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\node-gyp\\bin\\node-gyp.js"
"rebuild"
gyp ERR! cwd
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\node_modules\bcrypt
gyp ERR! node -v v4.4.7
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok
npm ERR! Windows_NT 6.1.7601
npm ERR! argv
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\bin\\node.exe"
"C:\\Users\\...\\AppData\\Local\\.meteor\\packages\\meteor-tool\\1.4.0-1\\mt-os.wi
ndows.x86_32\\dev_bundle\\lib\\node_modules\\npm\\bin\\npm-cli.js"
"rebuild" "--no-bin-links" "--update-binary"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! bcrypt#0.8.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt#0.8.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project
with:
npm ERR! npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls bcrypt
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR!
C:\Users\...\AppData\Local\.meteor\packages\npm-bcrypt\0.8.7\npm\node_modules\.tem
p-pilafw\npm-debug.log
Im am using Windows7-x64. meteor 1.4.0.1 and the inspina meteor theme.
I reinstalled meteor, I tried to create a new virgin project and add accounts-password to it, but I get the same issue...
Tried to install meteor on my Laptop, and getting the same issue... is there something wrong with meteor itself?
I think your issue is mentioned here.
Try to run npm install --global --production windows-build-tools from Powershell as mentioned here
If some one who tired of trying 'npm install --global --production windows-build-tools', they can skip it after the Python installation and continue buid tools manually, by browsing to C:\Users\#user#\.windows-build-tools'. Refer this link
I m building a web app using angularjs and gulp. Whenever, I run gulp serve,the website is working, however, the CSS is not working. I m getting the following error in the command prompt. I have tried to reinstall node_modules, node.js and gulp. However, the same error shows up.
npm WARN excluding symbolic link index.js -> lib/sass.js
npm WARN excluding symbolic link lib\index.js -> sass.js
bufferutil#1.2.1 install C:\Users\User\Desktop\grpkgb\project\node_modules\bufferutil
node-gyp rebuild
C:\Users\User\Desktop\grpkgb\project\node_modules\bufferutil>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Python executable "C:\Users\User\Anaconda3\python.EXE" is v3.5.1, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack at failPythonVersion (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:406:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:395:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:193:7)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at maybeClose (internal/child_process.js:827:16)
gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:319:11)
gyp ERR! stack at emitOne (events.js:90:13)
gyp ERR! stack at Socket.emit (events.js:182:7)
gyp ERR! stack at Pipe._onclose (net.js:475:12)
gyp ERR! System Windows_NT 10.0.10586
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\User\Desktop\grpkgb\project\node_modules\bufferutil
gyp ERR! node -v v5.7.1
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:bufferutil#1.2.1 bufferutil#1.2.1 install: `node-gyp rebuild`
npm WARN install:bufferutil#1.2.1 Exit status 1
utf-8-validate#1.2.1 install C:\Users\User\Desktop\grpkgb\project\node_modules\utf-8-validate
node-gyp rebuild
C:\Users\User\Desktop\grpkgb\project\node_modules\utf-8-validate>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
gyp ERR! configure error
gyp ERR! stack Error: Python executable "C:\Users\User\Anaconda3\python.EXE" is v3.5.1, which is not supported by gyp.
gyp ERR! stack You can pass the --python switch to point to Python >= v2.5.0 & < 3.0.0.
gyp ERR! stack at failPythonVersion (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:406:14)
gyp ERR! stack at C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\configure.js:395:9
gyp ERR! stack at ChildProcess.exithandler (child_process.js:193:7)
gyp ERR! stack at emitTwo (events.js:100:13)
gyp ERR! stack at ChildProcess.emit (events.js:185:7)
gyp ERR! stack at maybeClose (internal/child_process.js:827:16)
gyp ERR! stack at Socket.<anonymous> (internal/child_process.js:319:11)
gyp ERR! stack at emitOne (events.js:90:13)
gyp ERR! stack at Socket.emit (events.js:182:7)
gyp ERR! stack at Pipe._onclose (net.js:475:12)
gyp ERR! System Windows_NT 10.0.10586
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\User\Desktop\grpkgb\project\node_modules\utf-8-validate
gyp ERR! node -v v5.7.1
gyp ERR! node-gyp -v v3.2.1
gyp ERR! not ok
npm WARN install:utf-8-validate#1.2.1 utf-8-validate#1.2.1 install: `node-gyp rebuild`
npm WARN install:utf-8-validate#1.2.1 Exit status 1
projectFile#0.0.0 C:\Users\User\Desktop\grpkgb\project
+-- bootstrap-sass#3.3.6 extraneous
+-- gulp-sass#2.2.0 extraneous
`-- sass#0.5.0 extraneous
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents#1.0.9
npm WARN projectFile#0.0.0 No repository field.
npm WARN projectFile#0.0.0 No license field.
The error says it all
gyp ERR! stack Error: Python executable
"C:\Users\User\Anaconda3\python.EXE" is v3.5.1, which is not supported
by gyp. gyp ERR! stack You can pass the --python switch to point to
Python >= v2.5.0 & < 3.0.0.
You need to install Python this version that works with Node gyp.
You can find the Node gyp DOCs here for more details