Advertisement
Guest User

Untitled

a guest
Dec 7th, 2024
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.37 KB | None | 0 0
  1. npm install --save @u4/opencv4nodejs
  2. npm WARN config global `--global`, `--local` are deprecated. Use `--location=global` instead.
  3. npm WARN EBADENGINE Unsupported engine {
  4. npm WARN EBADENGINE package: '[email protected]',
  5. npm WARN EBADENGINE required: { node: '20 || >=22' },
  6. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  7. npm WARN EBADENGINE }
  8. npm WARN EBADENGINE Unsupported engine {
  9. npm WARN EBADENGINE package: '[email protected]',
  10. npm WARN EBADENGINE required: { node: '^16.14.0 || >=18.0.0' },
  11. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  12. npm WARN EBADENGINE }
  13. npm WARN EBADENGINE Unsupported engine {
  14. npm WARN EBADENGINE package: '[email protected]',
  15. npm WARN EBADENGINE required: { node: '20 || >=22' },
  16. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  17. npm WARN EBADENGINE }
  18. npm WARN EBADENGINE Unsupported engine {
  19. npm WARN EBADENGINE package: '[email protected]',
  20. npm WARN EBADENGINE required: { node: '^16.13.0 || >=18.0.0' },
  21. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  22. npm WARN EBADENGINE }
  23. npm WARN EBADENGINE Unsupported engine {
  24. npm WARN EBADENGINE package: '[email protected]',
  25. npm WARN EBADENGINE required: { node: '20 || >=22' },
  26. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  27. npm WARN EBADENGINE }
  28. npm WARN EBADENGINE Unsupported engine {
  29. npm WARN EBADENGINE package: '[email protected]',
  30. npm WARN EBADENGINE required: { node: '20 || >=22' },
  31. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  32. npm WARN EBADENGINE }
  33. npm WARN EBADENGINE Unsupported engine {
  34. npm WARN EBADENGINE package: '[email protected]',
  35. npm WARN EBADENGINE required: { node: '20 || >=22' },
  36. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  37. npm WARN EBADENGINE }
  38. npm WARN EBADENGINE Unsupported engine {
  39. npm WARN EBADENGINE package: '[email protected]',
  40. npm WARN EBADENGINE required: { node: '^16.14.0 || >=18.0.0' },
  41. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  42. npm WARN EBADENGINE }
  43. npm WARN EBADENGINE Unsupported engine {
  44. npm WARN EBADENGINE package: '[email protected]',
  45. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  46. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  47. npm WARN EBADENGINE }
  48. npm WARN EBADENGINE Unsupported engine {
  49. npm WARN EBADENGINE package: '[email protected]',
  50. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  51. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  52. npm WARN EBADENGINE }
  53. npm WARN EBADENGINE Unsupported engine {
  54. npm WARN EBADENGINE package: '@npmcli/[email protected]',
  55. npm WARN EBADENGINE required: { node: '^16.14.0 || >=18.0.0' },
  56. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  57. npm WARN EBADENGINE }
  58. npm WARN EBADENGINE Unsupported engine {
  59. npm WARN EBADENGINE package: '[email protected]',
  60. npm WARN EBADENGINE required: { node: '^16.14.0 || >=18.0.0' },
  61. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  62. npm WARN EBADENGINE }
  63. npm WARN EBADENGINE Unsupported engine {
  64. npm WARN EBADENGINE package: '[email protected]',
  65. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  66. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  67. npm WARN EBADENGINE }
  68. npm WARN EBADENGINE Unsupported engine {
  69. npm WARN EBADENGINE package: '[email protected]',
  70. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  71. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  72. npm WARN EBADENGINE }
  73. npm WARN EBADENGINE Unsupported engine {
  74. npm WARN EBADENGINE package: '@npmcli/[email protected]',
  75. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  76. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  77. npm WARN EBADENGINE }
  78. npm WARN EBADENGINE Unsupported engine {
  79. npm WARN EBADENGINE package: '[email protected]',
  80. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  81. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  82. npm WARN EBADENGINE }
  83. npm WARN EBADENGINE Unsupported engine {
  84. npm WARN EBADENGINE package: '[email protected]',
  85. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  86. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  87. npm WARN EBADENGINE }
  88. npm WARN EBADENGINE Unsupported engine {
  89. npm WARN EBADENGINE package: '[email protected]',
  90. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  91. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  92. npm WARN EBADENGINE }
  93. npm WARN EBADENGINE Unsupported engine {
  94. npm WARN EBADENGINE package: '[email protected]',
  95. npm WARN EBADENGINE required: { node: '20 || >=22' },
  96. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  97. npm WARN EBADENGINE }
  98. npm WARN EBADENGINE Unsupported engine {
  99. npm WARN EBADENGINE package: '[email protected]',
  100. npm WARN EBADENGINE required: { node: '^14.17.0 || ^16.13.0 || >=18.0.0' },
  101. npm WARN EBADENGINE current: { node: 'v17.9.1', npm: '8.11.0' }
  102. npm WARN EBADENGINE }
  103. npm ERR! code 1
  104. npm ERR! path C:\Git\Borghild2\node_modules\@u4\opencv4nodejs
  105. npm ERR! command failed
  106. npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-gyp rebuild
  107. npm ERR!
  108. npm ERR! gyp info it worked if it ends with ok
  109. npm ERR! gyp info using [email protected]
  110. npm ERR! gyp info using [email protected] | win32 | x64
  111. npm ERR! gyp info find Python using Python version 3.13.1 found at "C:\Users\sones\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\python.exe"
  112. npm ERR! gyp info find VS using VS2022 (17.12.35527.113) found at:
  113. npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2022\BuildTools"
  114. npm ERR! gyp info find VS run with --verbose for detailed information
  115. npm ERR! gyp info spawn C:\Users\sones\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.13_qbz5n2kfra8p0\python.exe
  116. npm ERR! gyp info spawn args [
  117. npm ERR! gyp info spawn args 'C:\\Git\\Borghild2\\node_modules\\node-gyp\\gyp\\gyp_main.py',
  118. npm ERR! gyp info spawn args 'binding.gyp',
  119. npm ERR! gyp info spawn args '-f',
  120. npm ERR! gyp info spawn args 'msvs',
  121. npm ERR! gyp info spawn args '-I',
  122. npm ERR! gyp info spawn args 'C:\\Git\\Borghild2\\node_modules\\@u4\\opencv4nodejs\\build\\config.gypi',
  123. npm ERR! gyp info spawn args '-I',
  124. npm ERR! gyp info spawn args 'C:\\Git\\Borghild2\\node_modules\\node-gyp\\addon.gypi',
  125. npm ERR! gyp info spawn args '-I',
  126. npm ERR! gyp info spawn args 'C:\\Users\\sones\\AppData\\Local\\node-gyp\\Cache\\17.9.1\\include\\node\\common.gypi',
  127. npm ERR! gyp info spawn args '-Dlibrary=shared_library',
  128. npm ERR! gyp info spawn args '-Dvisibility=default',
  129. npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\sones\\AppData\\Local\\node-gyp\\Cache\\17.9.1',
  130. npm ERR! gyp info spawn args '-Dnode_gyp_dir=C:\\Git\\Borghild2\\node_modules\\node-gyp',
  131. npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\sones\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\17.9.1\\\\<(target_arch)\\\\node.lib',
  132. npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\Git\\Borghild2\\node_modules\\@u4\\opencv4nodejs',
  133. npm ERR! gyp info spawn args '-Dnode_engine=v8',
  134. npm ERR! gyp info spawn args '--depth=.',
  135. npm ERR! gyp info spawn args '--no-parallel',
  136. npm ERR! gyp info spawn args '--generator-output',
  137. npm ERR! gyp info spawn args 'C:\\Git\\Borghild2\\node_modules\\@u4\\opencv4nodejs\\build',
  138. npm ERR! gyp info spawn args '-Goutput_dir=.'
  139. npm ERR! gyp info spawn args ]
  140. npm ERR! Traceback (most recent call last):
  141. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\gyp_main.py", line 45, in <module>
  142. npm ERR! sys.exit(gyp.script_main())
  143. npm ERR! ~~~~~~~~~~~~~~~^^
  144. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 688, in script_main
  145. npm ERR! return main(sys.argv[1:])
  146. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 680, in main
  147. npm ERR! return gyp_main(args)
  148. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 647, in gyp_main
  149. npm ERR! [generator, flat_list, targets, data] = Load(
  150. npm ERR! ~~~~^
  151. npm ERR! build_files,
  152. npm ERR! ^^^^^^^^^^^^
  153. npm ERR! ...<6 lines>...
  154. npm ERR! options.circular_check,
  155. npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^
  156. npm ERR! )
  157. npm ERR! ^
  158. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\__init__.py", line 157, in Load
  159. npm ERR! result = gyp.input.Load(
  160. npm ERR! build_files,
  161. npm ERR! ...<7 lines>...
  162. npm ERR! params["root_targets"],
  163. npm ERR! )
  164. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 2987, in Load
  165. npm ERR! LoadTargetBuildFile(
  166. npm ERR! ~~~~~~~~~~~~~~~~~~~^
  167. npm ERR! build_file, data, aux_data, variables, includes, depth, check, True
  168. npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  169. npm ERR! )
  170. npm ERR! ^
  171. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 427, in LoadTargetBuildFile
  172. npm ERR! ProcessVariablesAndConditionsInDict(
  173. npm ERR! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
  174. npm ERR! build_file_data, PHASE_EARLY, variables, build_file_path
  175. npm ERR! ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  176. npm ERR! )
  177. npm ERR! ^
  178. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 1399, in ProcessVariablesAndConditionsInDict
  179. npm ERR! ProcessVariablesAndConditionsInList(value, phase, variables, build_file)
  180. npm ERR! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  181. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 1412, in ProcessVariablesAndConditionsInList
  182. npm ERR! ProcessVariablesAndConditionsInDict(item, phase, variables, build_file)
  183. npm ERR! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  184. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 1399, in ProcessVariablesAndConditionsInDict
  185. npm ERR! ProcessVariablesAndConditionsInList(value, phase, variables, build_file)
  186. npm ERR! ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  187. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 1416, in ProcessVariablesAndConditionsInList
  188. npm ERR! expanded = ExpandVariables(item, phase, variables, build_file)
  189. npm ERR! File "C:\Git\Borghild2\node_modules\node-gyp\gyp\pylib\gyp\input.py", line 1050, in ExpandVariables
  190. npm ERR! output = shlex.split(str(replacement))
  191. npm ERR! File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\shlex.py", line 313, in split
  192. npm ERR! return list(lex)
  193. npm ERR! File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\shlex.py", line 300, in __next__
  194. npm ERR! token = self.get_token()
  195. npm ERR! File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\shlex.py", line 109, in get_token
  196. npm ERR! raw = self.read_token()
  197. npm ERR! File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.13_3.13.496.0_x64__qbz5n2kfra8p0\Lib\shlex.py", line 191, in read_token
  198. npm ERR! raise ValueError("No closing quotation")
  199. npm ERR! ValueError: No closing quotation while trying to load binding.gyp
  200. npm ERR! gyp ERR! configure error
  201. npm ERR! gyp ERR! stack Error: `gyp` failed with exit code: 1
  202. npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (C:\Git\Borghild2\node_modules\node-gyp\lib\configure.js:317:18)
  203. npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:527:28)
  204. npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
  205. npm ERR! gyp ERR! System Windows_NT 10.0.26100
  206. npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Git\\Borghild2\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
  207. npm ERR! gyp ERR! cwd C:\Git\Borghild2\node_modules\@u4\opencv4nodejs
  208. npm ERR! gyp ERR! node -v v17.9.1
  209. npm ERR! gyp ERR! node-gyp -v v10.3.1
  210. npm ERR! gyp ERR! not ok
  211.  
  212. npm ERR! A complete log of this run can be found in:
  213. npm ERR! C:\Users\sones\AppData\Local\npm-cache\_logs\2024-12-07T23_16_09_648Z-debug-0.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement