Comments (7)
@julianilsson @hardik-shah-28 did you guys try to install node-gyp and windows-build-tools globally?
npm install --global node-gyp
npm install --global --production windows-build-tools
At least that did the trick for me. If you are not on windows you might need something else than windows-build-tools, but have not tried myself.
from node-keytar.
From the looks of it your Python executable wasn't found: Error: Can't find Python executable "C:\Users\AlexBondo\AppData\Local\Programs\Python\Python35-32\python.exe", you can set the PYTHON env variable.
.
from node-keytar.
Tried executing "C:\Users\AlexBondo\AppData\Local\Programs\Python\Python35-32\python.exe" in terminal and it started python as expected - also before installing node-gyp and windows-build-tools. Sorry for not specifying that originally.
from node-keytar.
Ok, and what if you use python2? I believe node-gyp is only compatible with python 2.
from node-keytar.
I ran into the exact same issue and I'm using python 2.7.10. @abondoa did you find a solution to the problem?
from node-keytar.
Hi @abondoa I am facing following problem can you please help me out. initially it was showing python problem you mentioned above but I was able to solve that but then I am getting this error.
C:\sls-azure-example>npm install
[email protected] install C:\sls-azure-example\node_modules\keytar
node-gyp rebuild
C:\sls-azure-example\node_modules\keytar>if not defined npm_config_node_gyp (node "C:\Users\hshah\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Platforms\x64\PlatformToolsets\v140\Toolset.targets(36,5): error
MSB8036: The Windows SDK version 8.1 was not found. Install the required version of Windows SDK or change the SDK vers
ion in the project property pages or by right-clicking the solution and selecting "Retarget solution". [C:\sls-azure-ex
ample\node_modules\keytar\build\keytar.vcxproj]
gyp ERR! build error
gyp ERR! stack Error: C:\Program Files (x86)\MSBuild\14.0\bin\msbuild.exe
failed with exit code: 1
gyp ERR! stack at ChildProcess.onExit (C:\Users\hshah\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\hshah\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\sls-azure-example\node_modules\keytar
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] 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\hshah\AppData\Roaming\npm-cache_logs\2017-06-14T21_29_54_143Z-debug.log
C:\sls-azure-example>npm install
[email protected] install C:\sls-azure-example\node_modules\keytar
node-gyp rebuild
C:\sls-azure-example\node_modules\keytar>if not defined npm_config_node_gyp (node "C:\Users\hshah\AppData\Roaming\npm\node_modules\npm\bin\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "" rebuild )
Building the projects in this solution one at a time. To enable parallel build, please add the "/m" switch.
C:\sls-azure-example\node_modules\keytar\build\keytar.vcxproj(20,3): error MSB4019: The imported project "C:\Microsoft.
Cpp.Default.props" was not found. Confirm that the path in the declaration is correct, and that the file exist
s on disk.
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\hshah\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\lib\build.js:258:23)
gyp ERR! stack at emitTwo (events.js:106:13)
gyp ERR! stack at ChildProcess.emit (events.js:191:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)
gyp ERR! System Windows_NT 10.0.14393
gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\hshah\AppData\Roaming\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild"
gyp ERR! cwd C:\sls-azure-example\node_modules\keytar
gyp ERR! node -v v6.11.0
gyp ERR! node-gyp -v v3.6.2
gyp ERR! not ok
npm WARN [email protected] No repository field.
npm WARN [email protected] No license field.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] 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\hshah\AppData\Roaming\npm-cache_logs\2017-06-14T21_43_02_826Z-debug.log
from node-keytar.
sorry it got printed twice
from node-keytar.
Related Issues (20)
- Prebuild problem on Windows HOT 1
- Not being able to install on Windows. v8.h missing
- electron-rebuild fails after updating keytar to 7.7.0
- WSL Support
- Upgrade dependencies' major versions HOT 7
- https://www.instagram.com/p/CaAP2_VsEFp/?utm_medium=copy_linkc
- [win] handle different value for cred.Persist = CRED_PERSIST_ENTERPRISE;
- [Windows] Old credential comes back after current one is deleted HOT 3
- Keytar installation fails on Alpine Linux (Docker image) HOT 1
- Switch to prebuildify & node-gyp-build HOT 2
- Proposal: Support buffers for binary keychain data
- Not attempting prebuilt install
- setPassword error
- Add a new setPasswordDescription method
- Opt out from having the service name implicitly be concatenated with the account name on windows.
- Setting a password throws strange Error: �ڴ���Դ���㣬�����������” HOT 2
- `FindCredentials` call on Linux without unlocking the key store crashes
- Fails to install on Windows ARM
- Node
- Farewell, my dear Keytar
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from node-keytar.