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

ref failed to install on Windows 10 #1821

Closed
eoyoa opened this issue Jul 14, 2019 · 2 comments
Closed

ref failed to install on Windows 10 #1821

eoyoa opened this issue Jul 14, 2019 · 2 comments

Comments

@eoyoa
Copy link

eoyoa commented Jul 14, 2019

  • Node Version:
    Node.js v12.4.0
    npm 6.10.1
  • Platform:
    Microsoft Windows 10 Enterprise
    10.0.17763 N/A Build 17763
    x64-based PC
  • Compiler:
    15.9.21.664
  • Module:
    discord.js with node-opus
Verbose output (from npm or node-gyp):
1 verbose cli [
1 verbose cli   'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli   'C:\\Users\\Admin\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli   'install',
1 verbose cli   '--verbose',
1 verbose cli   '--timing'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session a6abf3438fde3240
5 silly install runPreinstallTopLevelLifecycles
6 silly preinstall [email protected]
7 info lifecycle [email protected]~preinstall: [email protected]
8 silly install loadCurrentTree
9 silly install readLocalPackageData
10 timing stage:loadCurrentTree Completed in 39ms
11 silly install loadIdealTree
12 silly install cloneCurrentTreeToIdealTree
13 timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
14 silly install loadShrinkwrap
15 timing stage:loadIdealTree:loadShrinkwrap Completed in 22ms
16 silly install loadAllDepsIntoIdealTree
17 timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 14ms
18 timing stage:loadIdealTree Completed in 46ms
19 silly currentTree [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree +-- [email protected]
19 silly currentTree `-- [email protected]
20 silly idealTree [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree +-- [email protected]
20 silly idealTree `-- [email protected]
21 silly install generateActionsToTake
22 timing stage:generateActionsToTake Completed in 9ms
23 silly diffTrees action count 1
24 silly diffTrees add [email protected]
25 silly decomposeActions action count 8
26 silly decomposeActions fetch [email protected]
27 silly decomposeActions extract [email protected]
28 silly decomposeActions preinstall [email protected]
29 silly decomposeActions build [email protected]
30 silly decomposeActions install [email protected]
31 silly decomposeActions postinstall [email protected]
32 silly decomposeActions finalize [email protected]
33 silly decomposeActions refresh-package-json [email protected]
34 silly install executeActions
35 silly doSerial global-install 8
36 verbose correctMkdir C:\Users\Admin\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing
37 verbose lock using C:\Users\Admin\AppData\Roaming\npm-cache\_locks\staging-5f2fa88f5720a82d.lock for C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\.staging
38 silly doParallel extract 1
39 silly extract [email protected]
40 silly tarball trying [email protected] by hash: sha512-2cBCniTtxcGUjDpvFfVpw323a83/0RLSGJJY5l5lcomZWhYpU2cuLdsvYqMixvsdLJ9+sTdzEkju8J8ZHDM2nA==
41 silly extract [email protected] extracted to C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\.staging\ref-38e9ef11 (60ms)
42 timing action:extract Completed in 62ms
43 silly doReverseSerial unbuild 8
44 silly doSerial remove 8
45 silly doSerial move 8
46 silly doSerial finalize 8
47 silly finalize C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\ref
48 timing action:finalize Completed in 5ms
49 silly doParallel refresh-package-json 1
50 silly refresh-package-json C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\ref
51 timing action:refresh-package-json Completed in 13ms
52 silly doParallel preinstall 1
53 silly preinstall [email protected]
54 info lifecycle [email protected]~preinstall: [email protected]
55 timing action:preinstall Completed in 1ms
56 silly doSerial build 8
57 silly build [email protected]
58 info linkStuff [email protected]
59 silly linkStuff [email protected] has C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules as its parent node_modules
60 timing action:build Completed in 2ms
61 silly doSerial global-link 8
62 silly doParallel update-linked 0
63 silly doSerial install 8
64 silly install [email protected]
65 info lifecycle [email protected]~install: [email protected]
66 verbose lifecycle [email protected]~install: unsafe-perm in lifecycle true
67 verbose lifecycle [email protected]~install: PATH: C:\Users\Admin\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\ref\node_modules\.bin;C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\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\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\LLVM\bin;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Users\Admin\.windows-build-tools\python27\;C:\Users\Admin\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Admin\AppData\Roaming\npm\node_modules\windows-build-tools\node_modules\.bin;C:\Users\Admin\AppData\Roaming\npm\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\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Git\cmd;C:\Program Files\LLVM\bin;C:\Program Files\nodejs\;C:\ProgramData\chocolatey\bin;C:\Python27\;C:\Python27\Scripts;C:\Program Files\Java\jdk-11.0.1\bin;C:\Users\Admin\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\Admin\AppData\Roaming\npm;C:\Program Files\heroku\bin;C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\MSBuild\15.0\Bin\MSBuild.exe;
68 verbose lifecycle [email protected]~install: CWD: C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\ref
69 silly lifecycle [email protected]~install: Args: [ '/d /s /c', 'node-gyp rebuild' ]
70 timing audit submit Completed in 600ms
71 http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/audits/quick 601ms
72 timing audit body Completed in 1ms
73 silly lifecycle [email protected]~install: Returned: code: 1  signal: null
74 info lifecycle [email protected]~install: Failed to exec install script
75 timing action:install Completed in 5482ms
76 silly doSerial postinstall 8
77 timing action:postinstall Completed in 0ms
78 verbose unlock done using C:\Users\Admin\AppData\Roaming\npm-cache\_locks\staging-5f2fa88f5720a82d.lock for C:\Users\Admin\Desktop\Code\Workspaces\Node.js\bot\node_modules\.staging
79 timing stage:executeActions Completed in 5632ms
80 timing stage:rollbackFailedOptional Completed in 24ms
81 silly install runPostinstallTopLevelLifecycles
82 silly build [email protected]
83 info linkStuff [email protected]
84 silly linkStuff [email protected] has C:\Users\Admin\Desktop\Code\Workspaces\Node.js as its parent node_modules
85 silly install [email protected]
86 info lifecycle [email protected]~install: [email protected]
87 silly postinstall [email protected]
88 info lifecycle [email protected]~postinstall: [email protected]
89 silly prepublish [email protected]
90 info lifecycle [email protected]~prepublish: [email protected]
91 info lifecycle [email protected]~prepare: [email protected]
92 timing stage:runTopLevelLifecycles Completed in 5788ms
93 silly saveTree [email protected]
93 silly saveTree +-- [email protected]
93 silly saveTree | +-- [email protected]
93 silly saveTree | +-- [email protected]
93 silly saveTree | +-- [email protected]
93 silly saveTree | +-- [email protected]
93 silly saveTree | `-- [email protected]
93 silly saveTree |   `-- [email protected]
93 silly saveTree `-- [email protected]
93 silly saveTree   +-- [email protected]
93 silly saveTree   +-- [email protected]
93 silly saveTree   +-- [email protected]
93 silly saveTree   `-- [email protected]
93 silly saveTree     `-- [email protected]
93 silly saveTree       +-- [email protected]
93 silly saveTree       | `-- [email protected]
93 silly saveTree       `-- [email protected]
94 silly install saveToDependencies
95 verbose saving []
96 verbose shrinkwrap skipping write for package.json because there were no changes.
97 info lifecycle undefined~preshrinkwrap: undefined
98 info lifecycle undefined~shrinkwrap: undefined
99 verbose shrinkwrap skipping write for package-lock.json because there were no changes.
100 info lifecycle undefined~postshrinkwrap: undefined
101 warn [email protected] requires a peer of bufferutil@^4.0.0 but none is installed. You must install peer dependencies yourself.
102 warn [email protected] requires a peer of erlpack@discordapp/erlpack but none is installed. You must install peer dependencies yourself.
103 warn [email protected] requires a peer of libsodium-wrappers@^0.7.3 but none is installed. You must install peer dependencies yourself.
104 warn [email protected] requires a peer of node-opus@^0.2.7 but none is installed. You must install peer dependencies yourself.
105 warn [email protected] requires a peer of opusscript@^0.0.6 but none is installed. You must install peer dependencies yourself.
106 warn [email protected] requires a peer of sodium@^2.0.3 but none is installed. You must install peer dependencies yourself.
107 warn [email protected] requires a peer of @discordjs/uws@^10.149.0 but none is installed. You must install peer dependencies yourself.
108 warn [email protected] No description
109 warn [email protected] No repository field.
110 warn [email protected] No license field.
111 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] (node_modules\ref):
112 warn optional SKIPPING OPTIONAL DEPENDENCY: [email protected] install: `node-gyp rebuild`
112 warn optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
113 verbose optional SKIPPING OPTIONAL DEPENDENCY:
113 verbose optional Failed at the [email protected] install script.
113 verbose optional SKIPPING OPTIONAL DEPENDENCY: This is probably not a problem with npm. There is likely additional logging output above.
114 silly install printInstalled
115 verbose exit [ 0, true ]
116 timing npm Completed in 6723ms
117 info ok```

</details>

<!-- Any further details -->

@richardlau
Copy link
Member

ref currently isn't compatible with Node.js 12: TooTallNate/ref#107

@angelnext
Copy link

angelnext commented May 20, 2021

Same problem, any clue on when ref will be availible with nodejs 12?

npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild

between other thousands of messages

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

3 participants