Skip to content
This repository has been archived by the owner on Jul 14, 2023. It is now read-only.

problem in installation for development on windows #125

Closed
saurabhkanswal opened this issue Mar 17, 2019 · 2 comments
Closed

problem in installation for development on windows #125

saurabhkanswal opened this issue Mar 17, 2019 · 2 comments

Comments

@saurabhkanswal
Copy link

i got an error while installing for development
Installing/Updating NPM dependencies..

[email protected] install node_modules\keytar > prebuild-install || node-gyp rebuild 'prebuild-install' is not recognized as an internal or external command, operable program or batch file. E:\work\classroom\classroom-assistant\node_modules\keytar>if not defined npm_con fig_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-li fecycle\node-gyp-bin\....\node_modules\node-gyp\bin\node-gyp.js" rebuild ) el se (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\nod e-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\python.EXE -c import sys; print "%s.%s. %s" % sys.version_info[:3]; gyp ERR! stack File "", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:289:12) gyp ERR! stack at ChildProcess.emit (events.js:182:13) gyp ERR! stack at maybeClose (internal/child_process.js:962:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_proces s.js:251:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodej s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" "rebuild" gyp ERR! cwd E:\work\classroom\classroom-assistant\node_modules\keytar gyp ERR! node -v v10.14.1 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN [email protected] requires a peer of [email protected] - 3 but none is install ed. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of popper.js@^1.14.3 but none is instal led. You must install peer dependencies yourself. npm WARN [email protected] requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\electron-installer-flatpak): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for electron- [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"o s":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\fs -xattr): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fs-xattr@ 0.1.17: wanted {"os":"!win32","arch":"any"} (current: {"os":"win32","arch":"x64" }) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules \macos-alias): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for macos-ali [email protected]: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x 64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\appdm g): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for appdmg@0. 4.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\electron-installer-redhat): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for electron- [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os ":"win32","arch":"x64"}) npm WARN optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\electron-installer-debian): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for electron- [email protected]: wanted {"os":"darwin,linux","arch":"any"} (current: {"os ":"win32","arch":"x64"}) 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 log ging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\HP\AppData\Roaming\npm-cache_logs\2019-03-17T21_04_16_265 Z-debug.log
--

@saurabhkanswal
Copy link
Author

can you help me with this error?

@srinjoym
Copy link
Contributor

srinjoym commented Jun 5, 2019

Hi @saurabhkanswal 👋

I haven’t seen this error before, and it looks like this is an issue with the npm configuration on your system. This thread here looks like it could yield a solution about the error with node-gyp: nodejs/node-gyp#1195

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants