Skip to content
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

Cannot install the firebird! #86

Open
JefterRocha opened this issue Dec 4, 2018 · 3 comments
Open

Cannot install the firebird! #86

JefterRocha opened this issue Dec 4, 2018 · 3 comments

Comments

@JefterRocha
Copy link

JefterRocha commented Dec 4, 2018

I try to install the package but something wrong is happening!
My SO: WIndows 10

Log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'install',
1 verbose cli 'firebird' ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session 97c6efdd8e5ff528
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 200 https://registry.npmjs.org/firebird 105ms (from cache)
8 silly pacote range manifest for firebird@* fetched in 142ms
9 timing stage:loadCurrentTree Completed in 884ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 2ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 53ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule [email protected] checking installable status
17 http fetch GET 200 https://registry.npmjs.org/nan 49ms (from cache)
18 silly pacote range manifest for nan@^2.0.9 fetched in 55ms
19 silly resolveWithNewModule [email protected] checking installable status
20 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 205ms
21 timing stage:loadIdealTree Completed in 319ms
22 silly currentTree [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree | -- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree | -- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree +-- [email protected]
22 silly currentTree | -- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree +-- [email protected] 22 silly currentTree -- [email protected]
23 silly idealTree [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree | -- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree | -- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree +-- [email protected]
23 silly idealTree | -- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree +-- [email protected] 23 silly idealTree -- [email protected]
24 silly install generateActionsToTake
25 timing stage:generateActionsToTake Completed in 26ms
26 silly diffTrees action count 2
27 silly diffTrees add [email protected]
28 silly diffTrees add [email protected]
29 silly decomposeActions action count 16
30 silly decomposeActions fetch [email protected]
31 silly decomposeActions extract [email protected]
32 silly decomposeActions preinstall [email protected]
33 silly decomposeActions build [email protected]
34 silly decomposeActions install [email protected]
35 silly decomposeActions postinstall [email protected]
36 silly decomposeActions finalize [email protected]
37 silly decomposeActions refresh-package-json [email protected]
38 silly decomposeActions fetch [email protected]
39 silly decomposeActions extract [email protected]
40 silly decomposeActions preinstall [email protected]
41 silly decomposeActions build [email protected]
42 silly decomposeActions install [email protected]
43 silly decomposeActions postinstall [email protected]
44 silly decomposeActions finalize [email protected]
45 silly decomposeActions refresh-package-json [email protected]
46 silly install executeActions
47 silly doSerial global-install 16
48 verbose correctMkdir C:\Users\JEFTER\AppData\Roaming\npm-cache_locks correctMkdir not in flight; initializing
49 timing audit compress Completed in 7ms
50 info audit Submitting payload of 3337bytes
51 verbose lock using C:\Users\JEFTER\AppData\Roaming\npm-cache_locks\staging-9a1275d0de6ce7a5.lock for C:\Users\JEFTER\Documents\node-fb-sample\node_modules.staging
52 silly doParallel extract 2
53 silly extract [email protected]
54 silly extract [email protected]
55 silly tarball trying nan@^2.0.9 by hash: sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA==
56 silly tarball trying firebird@* by hash: sha1-MlJd4sGMAwNrzVZnb1mbJzHfFG8=
57 silly extract nan@^2.0.9 extracted to C:\Users\JEFTER\Documents\node-fb-sample\node_modules.staging\nan-b78063df (229ms)
58 silly extract firebird@* extracted to C:\Users\JEFTER\Documents\node-fb-sample\node_modules.staging\firebird-62d3b5ff (362ms)
59 timing action:extract Completed in 371ms
60 silly doReverseSerial unbuild 16
61 silly doSerial remove 16
62 silly doSerial move 16
63 silly doSerial finalize 16
64 silly finalize C:\Users\JEFTER\Documents\node-fb-sample\node_modules\nan
65 silly finalize C:\Users\JEFTER\Documents\node-fb-sample\node_modules\firebird
66 timing action:finalize Completed in 12ms
67 silly doParallel refresh-package-json 2
68 silly refresh-package-json C:\Users\JEFTER\Documents\node-fb-sample\node_modules\nan
69 silly refresh-package-json C:\Users\JEFTER\Documents\node-fb-sample\node_modules\firebird
70 timing action:refresh-package-json Completed in 152ms
71 silly doParallel preinstall 2
72 silly preinstall [email protected]
73 info lifecycle [email protected]preinstall: [email protected]
74 silly preinstall [email protected]
75 info lifecycle [email protected]
preinstall: [email protected]
76 timing action:preinstall Completed in 4ms
77 silly doSerial build 16
78 silly build [email protected]
79 info linkStuff [email protected]
80 silly linkStuff [email protected] has C:\Users\JEFTER\Documents\node-fb-sample\node_modules as its parent node_modules
81 silly build [email protected]
82 info linkStuff [email protected]
83 silly linkStuff [email protected] has C:\Users\JEFTER\Documents\node-fb-sample\node_modules as its parent node_modules
84 timing action:build Completed in 4ms
85 silly doSerial global-link 16
86 silly doParallel update-linked 0
87 silly doSerial install 16
88 silly install [email protected]
89 info lifecycle [email protected]install: [email protected]
90 silly install [email protected]
91 info lifecycle [email protected]
install: [email protected]
92 verbose lifecycle [email protected]install: unsafe-perm in lifecycle true
93 verbose lifecycle [email protected]
install: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\JEFTER\Documents\node-fb-sample\node_modules\firebird\node_modules.bin;C:\Users\JEFTER\Documents\node-fb-sample\node_modules.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0;C:\Windows\System32\OpenSSH;C:\Program Files\nodejs;C:\Program Files\Git\cmd;C:\Users\JEFTER\AppData\Local\Programs\Python\Python37-32\Scripts;C:\Users\JEFTER\AppData\Local\Programs\Python\Python37-32;C:\Users\JEFTER\AppData\Local\Microsoft\WindowsApps;C:\Users\JEFTER\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\JEFTER\AppData\Roaming\npm;C:\Program Files\MongoDB\Server\4.0\bin;C:\Program Files\heroku\bin;C:\Users\JEFTER\AppData\Local\Programs\we\bin;C:\Program Files\Firebird\Firebird_3_0
94 verbose lifecycle [email protected]install: CWD: C:\Users\JEFTER\Documents\node-fb-sample\node_modules\firebird
95 silly lifecycle [email protected]
install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
96 timing audit submit Completed in 1442ms
97 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 1441ms
98 timing audit body Completed in 0ms
99 silly lifecycle [email protected]install: Returned: code: 1 signal: null
100 info lifecycle [email protected]
install: Failed to exec install script
101 timing action:install Completed in 1230ms
102 verbose unlock done using C:\Users\JEFTER\AppData\Roaming\npm-cache_locks\staging-9a1275d0de6ce7a5.lock for C:\Users\JEFTER\Documents\node-fb-sample\node_modules.staging
103 timing stage:rollbackFailedOptional Completed in 67ms
104 timing stage:runTopLevelLifecycles Completed in 3261ms
105 silly saveTree [email protected]
105 silly saveTree +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | | -- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | | +-- [email protected] 105 silly saveTree | | +-- [email protected] 105 silly saveTree | | -- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | | -- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | | -- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | | -- [email protected] 105 silly saveTree | -- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | -- [email protected] 105 silly saveTree | -- [email protected]
105 silly saveTree +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | | -- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | | +-- [email protected] 105 silly saveTree | | -- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | | +-- [email protected]
105 silly saveTree | | -- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | +-- [email protected] 105 silly saveTree | | +-- [email protected] 105 silly saveTree | | +-- [email protected] 105 silly saveTree | | -- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | +-- [email protected]
105 silly saveTree | -- [email protected] 105 silly saveTree -- [email protected]
105 silly saveTree -- [email protected] 106 warn [email protected] No license field. 107 verbose stack Error: [email protected] install: node-gyp rebuild107 verbose stack Exit status 1 107 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16) 107 verbose stack at emitTwo (events.js:126:13) 107 verbose stack at EventEmitter.emit (events.js:214:7) 107 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14) 107 verbose stack at emitTwo (events.js:126:13) 107 verbose stack at ChildProcess.emit (events.js:214:7) 107 verbose stack at maybeClose (internal/child_process.js:915:16) 107 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5) 108 verbose pkgid [email protected] 109 verbose cwd C:\Users\JEFTER\Documents\node-fb-sample 110 verbose Windows_NT 10.0.17134 111 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "firebird" 112 verbose node v8.12.0 113 verbose npm v6.4.1 114 error code ELIFECYCLE 115 error errno 1 116 error [email protected] install:node-gyp rebuild`
116 error Exit status 1
117 error Failed at the [email protected] install script.
117 error This is probably not a problem with npm. There is likely additional logging output above.
118 verbose exit [ 1, true ]

console log

C:\Users\JEFTER\Documents\node-fb-sample\node_modules\firebird>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: Command failed: C:\Users\JEFTER\AppData\Local\Programs\Python\Python37-32\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:276:12)
gyp ERR! stack at emitTwo (events.js:126:13)
gyp ERR! stack at ChildProcess.emit (events.js:214:7)
gyp ERR! stack at maybeClose (internal/child_process.js:915:16)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
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\JEFTER\Documents\node-fb-sample\node_modules\firebird
gyp ERR! node -v v8.12.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok
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\JEFTER\AppData\Roaming\npm-cache_logs\2018-12-04T20_19_01_946Z-debug.log

@mreis1
Copy link

mreis1 commented Apr 12, 2019

It looks like your envrionment is not ready to install native add-ons.
This is the role of node-gyp. Try this: https://www.npmjs.com/package/windows-build-tools before attempting to install firebird

@mariuz
Copy link
Contributor

mariuz commented Nov 21, 2019

I will add it to the readme https://www.npmjs.com/package/windows-build-tools

@Den2016
Copy link

Den2016 commented Apr 9, 2020

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

No branches or pull requests

4 participants