lovell / sharp

High performance Node.js image processing, the fastest module to resize JPEG, PNG, WebP, AVIF and TIFF images. Uses the libvips library.
https://sharp.pixelplumbing.com
Apache License 2.0
29.21k stars 1.29k forks source link

the module installed successfully and "sharp-win32-x64.node" is exist, but when I run my code, the console still outputed "Something went wrong installing the "sharp" module. The specified procedure could not be found." #3020

Closed Kayxue closed 2 years ago

Kayxue commented 2 years ago

Did you see the documentation relating to installation?

Have you ensured the architecture and platform of Node.js used for npm install is the same as the architecture and platform of Node.js used at runtime? Idk, but I think the answer is yes

Are you using the latest version? Is the version currently in use as reported by npm ls sharp the same as the latest version as reported by npm view sharp dist-tags.latest? Yes.

If you are using npm v6 or earlier and installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag? My npm version is 8.1.3 and I tried this command but didn't help me solving this problem.

If you are using npm v7, does the user running npm install own the directory it is run in? Yes

If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag? I tried but didn't help me solving this problem.

What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages? I tried but didn't see any error message.

npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Users\\Kay\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'install',
npm verb cli   '--verbose',
npm verb cli   'sharp'
npm verb cli ]
npm info using npm@8.1.3
npm info using node@v16.6.1
npm timing npm:load:whichnode Completed in 0ms
npm timing config:load:defaults Completed in 2ms
npm timing config:load:file:C:\Users\Kay\AppData\Roaming\npm\node_modules\npm\npmrc Completed in 3ms
npm timing config:load:builtin Completed in 3ms
npm timing config:load:cli Completed in 3ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:C:\Users\Kay\Desktop\KayBotTypeScriptJDA\.npmrc Completed in 1ms
npm timing config:load:project Completed in 2ms
npm timing config:load:file:C:\Users\Kay\.npmrc Completed in 1ms
npm timing config:load:user Completed in 2ms
npm timing config:load:file:C:\Users\Kay\AppData\Roaming\npm\etc\npmrc Completed in 2ms
npm timing config:load:global Completed in 2ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:credentials Completed in 1ms
npm timing config:load:setEnvs Completed in 2ms
npm timing config:load Completed in 18ms
npm timing npm:load:configload Completed in 19ms
npm timing npm:load:setTitle Completed in 0ms
npm timing npm:load:setupLog Completed in 1ms
npm timing config:load:flatten Completed in 4ms
npm timing npm:load:cleanupLog Completed in 3ms
npm timing npm:load:configScope Completed in 0ms
npm timing npm:load:projectScope Completed in 2ms
npm timing npm:load Completed in 47ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 477ms
npm timing idealTree:userRequests Completed in 8ms
npm timing arborist:ctor Completed in 1ms
npm http fetch GET 200 https://registry.npmjs.org/sharp 1343ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/color 96ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/simple-get 97ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-addon-api 157ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/prebuild-install 951ms (cache revalidated)
npm timing idealTree:#root Completed in 2313ms
npm http fetch GET 200 https://registry.npmjs.org/color-string 57ms (cache revalidated)
npm http fetch GET 200 https://registry.npmjs.org/node-abi 123ms (cache revalidated)
npm timing idealTree:node_modules/sharp Completed in 133ms
npm http fetch GET 200 https://registry.npmjs.org/simple-swizzle 55ms (cache revalidated)
npm timing idealTree:node_modules/color Completed in 64ms
npm http fetch GET 200 https://registry.npmjs.org/is-arrayish 47ms (cache revalidated)
npm timing idealTree:node_modules/color-string Completed in 51ms
npm timing idealTree:node_modules/simple-swizzle Completed in 1ms
npm timing idealTree:node_modules/sharp/node_modules/node-addon-api Completed in 0ms
npm timing idealTree:node_modules/sharp/node_modules/prebuild-install Completed in 4ms
npm timing idealTree:node_modules/sharp/node_modules/node-abi Completed in 0ms
npm timing idealTree:node_modules/sharp/node_modules/simple-get Completed in 1ms
npm timing idealTree:node_modules/simple-swizzle/node_modules/is-arrayish Completed in 0ms
npm timing idealTree:buildDeps Completed in 2581ms
npm timing idealTree:fixDepFlags Completed in 12ms
npm timing idealTree Completed in 3092ms
npm timing reify:loadTrees Completed in 3094ms
npm timing reify:diffTrees Completed in 29ms
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 10ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 148ms
npm timing reifyNode:node_modules/color Completed in 158ms
npm timing reifyNode:node_modules/color-string Completed in 164ms
npm timing reifyNode:node_modules/sharp/node_modules/simple-get Completed in 177ms
npm timing reifyNode:node_modules/simple-swizzle/node_modules/is-arrayish Completed in 241ms
npm timing reifyNode:node_modules/sharp/node_modules/node-abi Completed in 271ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 281ms
npm timing auditReport:getReport Completed in 290ms
npm timing metavuln:cache:get:security-advisory:nth-check:phzbT+HCVgpA1C0GvSQ+THzeiYTr85AjCi0uOiMdmcC5FQFZSg2cAxsM7WmntPfv9aYplGKdCep6sPcOzXhQDw== Completed in 28ms
npm timing metavuln:cache:get:security-advisory:axios:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 30ms
npm timing metavuln:cache:get:security-advisory:ansi-regex:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 32ms
npm timing metavuln:cache:get:security-advisory:axios:v7cyFrAYC4UdnJ8NGkwG4x3pj14zBCyk2O5OpW1LVYPR6fCReL+OHhTG+KA/aBX0OjPIQGRJZZ155sfUb/eyCw== Completed in 31ms
npm timing metavuln:cache:get:security-advisory:tar:FVraO3vxxEwRFvae/qn54EZfqhwhMp2WELNyGn+whkwy5AiGGQUYfPZKYo5gVQTwEDWGqrw2ZBfQh7ybqYruyw== Completed in 31ms
npm timing metavuln:cache:get:security-advisory:tar:34G+WConGFFWccUb8BgaeTYbN3uYhdQmRaxXSUSIQ8meLzACygefO7EXhn6gKUnnryCqTBplIbxCXTplY0bYZw== Completed in 31ms
npm timing metavuln:cache:get:security-advisory:tar:Ar/tm+IovdyvUguUGqdJRiv3vndjlRFiAxefrycd9JAfXDz8f8J0i65HKJPcSI2UxmfNbqdK5JZhCWVFVGWuEg== Completed in 32ms
npm timing metavuln:cache:get:security-advisory:tar:N+UM5HifWs2F2zc5VvSjMcsJxwKLXnFlwekBDx20VEMxf4a50dbc9azjEqPWN9F4CRYdtlo8htl2my5iv0W3vQ== Completed in 33ms
npm timing metavuln:cache:get:security-advisory:node-fetch:ZpVfPQheAeBPVYM7Wttj7m+XbAR5XV1D3b8n2TKfZYiDIRur5q9lcy8hCQKdAdj7qYFZz79wWzYmCFfyuXx3hg== Completed in 33ms
npm timing metavuln:cache:get:security-advisory:tar:VtfoMHRPReMcCW9w4u31BWYREcViCFn3asZmPh4Q1xtBDUHlj8G6pba9zfaKmvRrJr1jooSQdagZ+yr2Ze8IzA== Completed in 34ms
npm timing metavuln:cache:get:security-advisory:json-schema:uVcBWD+ZqHJKVkSGOfO4yK+HybE/AV72re+WaiTN0a2jxKtVzp8MsDQW6mQ0NhRBKqqxq93dEUVYTqaY6Vbrlw== Completed in 37ms
npm timing reifyNode:node_modules/sharp/node_modules/prebuild-install Completed in 333ms
npm http fetch GET 200 https://registry.npmjs.org/ansi-regex 71ms (cache hit)
npm timing metavuln:packument:ansi-regex Completed in 73ms
npm timing metavuln:load:security-advisory:ansi-regex:1004946 Completed in 1ms
npm timing metavuln:calculate:security-advisory:ansi-regex:1004946 Completed in 75ms
npm http fetch GET 200 https://registry.npmjs.org/axios 75ms (cache hit)
npm timing metavuln:packument:axios Completed in 76ms
npm timing metavuln:load:security-advisory:axios:1005018 Completed in 0ms
npm timing metavuln:calculate:security-advisory:axios:1005018 Completed in 78ms
npm timing metavuln:load:security-advisory:axios:1005506 Completed in 1ms
npm timing metavuln:calculate:security-advisory:axios:1005506 Completed in 79ms
npm http fetch GET 200 https://registry.npmjs.org/nth-check 80ms (cache hit)
npm timing metavuln:packument:nth-check Completed in 80ms
npm timing metavuln:load:security-advisory:nth-check:1004967 Completed in 0ms
npm timing metavuln:calculate:security-advisory:nth-check:1004967 Completed in 81ms
npm http fetch GET 200 https://registry.npmjs.org/tar 81ms (cache hit)
npm timing metavuln:packument:tar Completed in 82ms
npm timing metavuln:load:security-advisory:tar:1005040 Completed in 0ms
npm timing metavuln:calculate:security-advisory:tar:1005040 Completed in 84ms
npm timing metavuln:load:security-advisory:tar:1005043 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1005043 Completed in 86ms
npm timing metavuln:load:security-advisory:tar:1005046 Completed in 2ms
npm timing metavuln:calculate:security-advisory:tar:1005046 Completed in 88ms
npm timing metavuln:load:security-advisory:tar:1005078 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1005078 Completed in 91ms
npm timing metavuln:load:security-advisory:tar:1005082 Completed in 1ms
npm timing metavuln:calculate:security-advisory:tar:1005082 Completed in 93ms
npm http fetch GET 200 https://registry.npmjs.org/json-schema 95ms (cache hit)
npm timing metavuln:packument:json-schema Completed in 96ms
npm timing metavuln:load:security-advisory:json-schema:1006724 Completed in 0ms
npm timing metavuln:calculate:security-advisory:json-schema:1006724 Completed in 102ms
npm http fetch GET 200 https://registry.npmjs.org/node-fetch 101ms (cache hit)
npm timing metavuln:packument:node-fetch Completed in 105ms
npm timing metavuln:load:security-advisory:node-fetch:1005560 Completed in 0ms
npm timing metavuln:calculate:security-advisory:node-fetch:1005560 Completed in 107ms
npm timing metavuln:cache:get:security-advisory:jsprim:QRwmQiuv2v1qSgbUQnnOq/BCmkS2/L/UCMZqttFxXCKmhngjXz/Emg8LJqaGEEX8q+I+K+Nu9HfxA4IDuytApA== Completed in 12ms
npm http fetch GET 200 https://registry.npmjs.org/jsprim 26ms (cache hit)
npm timing metavuln:packument:jsprim Completed in 28ms
npm timing metavuln:load:security-advisory:jsprim:uVcBWD+ZqHJKVkSGOfO4yK+HybE/AV72re+WaiTN0a2jxKtVzp8MsDQW6mQ0NhRBKqqxq93dEUVYTqaY6Vbrlw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:jsprim:uVcBWD+ZqHJKVkSGOfO4yK+HybE/AV72re+WaiTN0a2jxKtVzp8MsDQW6mQ0NhRBKqqxq93dEUVYTqaY6Vbrlw== Completed in 29ms
npm timing metavuln:cache:get:security-advisory:strip-ansi:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 15ms
npm http fetch GET 200 https://registry.npmjs.org/strip-ansi 41ms (cache hit)
npm timing metavuln:packument:strip-ansi Completed in 42ms
npm timing metavuln:load:security-advisory:strip-ansi:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 1ms
npm timing metavuln:calculate:security-advisory:strip-ansi:gipfqiXURkkimm8+IyoEer5YC1ntqyorXe7xXSHfbxT4Q2N0cl4sjpCXLBfNQSZpCf2C6BCCpq61JXzBTOWL+g== Completed in 43ms
npm timing metavuln:cache:get:security-advisory:css-select:QvKraIGpcyVxEwFP0qxpEFcY9Kx8ThCeiILkMKxPQIjEnGuEnh3anOmKy/kR5kMZzYPfqYeVltD9/X58U3TjZA== Completed in 9ms
npm timing reifyNode:node_modules/sharp/node_modules/node-addon-api Completed in 498ms
npm http fetch GET 200 https://registry.npmjs.org/css-select 35ms (cache hit)
npm timing metavuln:packument:css-select Completed in 37ms
npm timing metavuln:load:security-advisory:css-select:phzbT+HCVgpA1C0GvSQ+THzeiYTr85AjCi0uOiMdmcC5FQFZSg2cAxsM7WmntPfv9aYplGKdCep6sPcOzXhQDw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:css-select:phzbT+HCVgpA1C0GvSQ+THzeiYTr85AjCi0uOiMdmcC5FQFZSg2cAxsM7WmntPfv9aYplGKdCep6sPcOzXhQDw== Completed in 38ms
npm timing metavuln:cache:get:security-advisory:clarifai:sjxp9LEnx6zGh0qYToxupHcpBnyeZ/MxWqH9+JYESSgj6us3SKvdQ85oVnh9lGgCQRPLnuNBnIbSiVhUqNvi8g== Completed in 32ms
npm timing metavuln:cache:get:security-advisory:accu-weather-api-wrapper:Que+cRmGpQwnJ+jC44Vi/8F53UF/KBUqpWdXJT/OTqVYbNVvym14aqvUTcfYRm7L3G/TVVpk/qfu0eizRuvBUA== Completed in 37ms
npm timing metavuln:cache:get:security-advisory:youbike-api:A5bMz7Shp7k3adr7XC3L0ygIaPY0eeU/7j3RbG1TBjyl89YCjOvBqSPzsfJ6JOJsmBIpxpukO+UjfSpfilzWFw== Completed in 35ms
npm timing metavuln:cache:get:security-advisory:books-com-tw-crawler:yGWx7x7X6VD7eBH92vhHEO/W9EGGe7i2CRy1/NyFBjB2GWohs7K5rJqfS3Uvsk73ZVEvmOBTCU8h6d1Wh6uwkg== Completed in 38ms
npm timing metavuln:cache:get:security-advisory:rss-emitter-ts:y451rSUReqYixvZbgKeD44hAkKCu2QMKAfqfwkrIU9or7N8WEM7tWusx3mHcavEv+tVEJJAYRCLvQ+b9OXx9WQ== Completed in 34ms
npm timing metavuln:cache:get:security-advisory:genius-lyrics:tWxY0BqkW2Y/Q3aNxGuMPAENbrukbgIm4lEee0+/xssaHo/jEnspeLm0EAx/wvnjv+yNToFsR3dMZ/RB/n8foQ== Completed in 37ms
npm timing metavuln:cache:get:security-advisory:crates.io:PDvWeGkJMJkbdred0FOGKQJOb9Hmo2tq+K9VgO5D/LMH9LfaOd9I8t7W0njJZ2xe8uanMpA+ee5Z9vAYMM2Ukw== Completed in 39ms
npm timing metavuln:cache:get:security-advisory:youtube-search:uVPdCarmSHf2MvM81XyLBkXoJ0G6Zmf1SBPadvGo0a1TE0F1HFA7EQmKsj9HcsNPKJYE7ziXCLde32NBG7KuIw== Completed in 38ms
npm http fetch GET 200 https://registry.npmjs.org/accu-weather-api-wrapper 109ms (cache hit)
npm timing metavuln:packument:accu-weather-api-wrapper Completed in 111ms
npm timing metavuln:load:security-advisory:accu-weather-api-wrapper:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:accu-weather-api-wrapper:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 112ms
npm http fetch GET 200 https://registry.npmjs.org/genius-lyrics 112ms (cache hit)
npm timing metavuln:packument:genius-lyrics Completed in 113ms
npm timing metavuln:load:security-advisory:genius-lyrics:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:genius-lyrics:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 114ms
npm http fetch GET 200 https://registry.npmjs.org/books-com-tw-crawler 117ms (cache hit)
npm timing metavuln:packument:books-com-tw-crawler Completed in 117ms
npm timing metavuln:load:security-advisory:books-com-tw-crawler:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:books-com-tw-crawler:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 118ms
npm http fetch GET 200 https://registry.npmjs.org/youbike-api 116ms (cache hit)
npm timing metavuln:packument:youbike-api Completed in 117ms
npm timing metavuln:load:security-advisory:youbike-api:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:youbike-api:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 119ms
npm http fetch GET 200 https://registry.npmjs.org/crates.io 125ms (cache hit)
npm timing metavuln:packument:crates.io Completed in 127ms
npm timing metavuln:load:security-advisory:crates.io:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:crates.io:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 128ms
npm http fetch GET 200 https://registry.npmjs.org/clarifai 129ms (cache hit)
npm timing metavuln:packument:clarifai Completed in 131ms
npm timing metavuln:load:security-advisory:clarifai:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:clarifai:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 132ms
npm http fetch GET 200 https://registry.npmjs.org/youtube-search 132ms (cache hit)
npm timing metavuln:packument:youtube-search Completed in 133ms
npm timing metavuln:load:security-advisory:youtube-search:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:youtube-search:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 135ms
npm http fetch GET 200 https://registry.npmjs.org/rss-emitter-ts 137ms (cache hit)
npm timing metavuln:packument:rss-emitter-ts Completed in 138ms
npm timing metavuln:load:security-advisory:rss-emitter-ts:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:rss-emitter-ts:KuWx7zaJ7Mmlnb/iEV+dKH7GH4AD5OW/Ip4dcmPDp+RUuvyDM9mjv8g2xyZ1xf0u7QRVYpP1Btjz1ZNxvg5ETw== Completed in 140ms
npm timing metavuln:cache:get:security-advisory:node-gyp:6+ggosCGh9zUgnYlHhEwGHNCbAfeugEO2MRfByrpjAnuhf71rldpYpnhq1DXAIWBdH4Dh0Y2vP+5LrlHG2Qhww== Completed in 6ms
npm http fetch GET 200 https://registry.npmjs.org/node-gyp 21ms (cache hit)
npm timing metavuln:packument:node-gyp Completed in 23ms
npm timing metavuln:load:security-advisory:node-gyp:VtfoMHRPReMcCW9w4u31BWYREcViCFn3asZmPh4Q1xtBDUHlj8G6pba9zfaKmvRrJr1jooSQdagZ+yr2Ze8IzA== Completed in 1ms
npm timing metavuln:calculate:security-advisory:node-gyp:VtfoMHRPReMcCW9w4u31BWYREcViCFn3asZmPh4Q1xtBDUHlj8G6pba9zfaKmvRrJr1jooSQdagZ+yr2Ze8IzA== Completed in 26ms
npm timing metavuln:cache:get:security-advisory:hive-api:SG4dePh4Mr3PutpL97a3qcRgH66XvoqfSOFz7jAnYawZFo1SgEA4awtV8wWT9gI3X1+VVoxOxXITAA/82Xopaw== Completed in 7ms
npm http fetch GET 200 https://registry.npmjs.org/hive-api 20ms (cache hit)
npm timing metavuln:packument:hive-api Completed in 21ms
npm timing metavuln:load:security-advisory:hive-api:ZpVfPQheAeBPVYM7Wttj7m+XbAR5XV1D3b8n2TKfZYiDIRur5q9lcy8hCQKdAdj7qYFZz79wWzYmCFfyuXx3hg== Completed in 0ms
npm timing metavuln:calculate:security-advisory:hive-api:ZpVfPQheAeBPVYM7Wttj7m+XbAR5XV1D3b8n2TKfZYiDIRur5q9lcy8hCQKdAdj7qYFZz79wWzYmCFfyuXx3hg== Completed in 22ms
npm timing metavuln:cache:get:security-advisory:http-signature:upm1syltaQQk+WBKtPw6YsBaxj+CsFA5RzQpT8BTsGTeKtaQDFI39vz+ktDswUws3m15VM18TZja0+/1k69g7Q== Completed in 6ms
npm http fetch GET 200 https://registry.npmjs.org/http-signature 16ms (cache hit)
npm timing metavuln:packument:http-signature Completed in 18ms
npm timing metavuln:load:security-advisory:http-signature:QRwmQiuv2v1qSgbUQnnOq/BCmkS2/L/UCMZqttFxXCKmhngjXz/Emg8LJqaGEEX8q+I+K+Nu9HfxA4IDuytApA== Completed in 0ms
npm timing metavuln:calculate:security-advisory:http-signature:QRwmQiuv2v1qSgbUQnnOq/BCmkS2/L/UCMZqttFxXCKmhngjXz/Emg8LJqaGEEX8q+I+K+Nu9HfxA4IDuytApA== Completed in 19ms
npm timing metavuln:cache:get:security-advisory:inquirer:pAR64lahnjZHUNciTAuoifx73D9SeH4NfbcHfv8LXd35C9Kzet1ZBQBs59fss9/pIGqNJfvS1VUaPG3JE7OLLw== Completed in 6ms
npm timing metavuln:cache:get:security-advisory:eslint:2FRUXL7F8oV2YWe4C+eEEOa1BulAqIY2Ja1R/Zq9kEO4j0b/3us8sh2GGUYNzJbvgaTBJNJC5e8KzNxG69KU/A== Completed in 10ms
npm timing metavuln:cache:get:security-advisory:string-width:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 10ms
npm http fetch GET 200 https://registry.npmjs.org/string-width 30ms (cache hit)
npm timing metavuln:packument:string-width Completed in 32ms
npm timing metavuln:load:security-advisory:string-width:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 0ms
npm timing metavuln:calculate:security-advisory:string-width:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 33ms
npm http fetch GET 200 https://registry.npmjs.org/eslint 35ms (cache hit)
npm timing metavuln:packument:eslint Completed in 42ms
npm timing metavuln:load:security-advisory:eslint:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 6ms
npm timing metavuln:calculate:security-advisory:eslint:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 50ms
npm http fetch GET 200 https://registry.npmjs.org/inquirer 51ms (cache hit)
npm timing metavuln:packument:inquirer Completed in 53ms
npm timing metavuln:load:security-advisory:inquirer:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 0ms
npm timing metavuln:calculate:security-advisory:inquirer:VNH7BZLDPXeb+XyBHjziFezTzkb3wUEeYZF30Shwpq+9ErFf3ja9WpDN5+1N0ZmzJRrF78Jsd1Rv6URhv1/2cQ== Completed in 54ms
npm timing metavuln:cache:get:security-advisory:cheerio:T4E2lUfP1nswQFSQppAD0MMq1r2AMfLR2ggfNzT8MLxx52/PiVVxmzRjPAEs+IThDCPdEkRldzsQFpfBR6w3pA== Completed in 12ms
npm http fetch GET 200 https://registry.npmjs.org/cheerio 31ms (cache hit)
npm timing metavuln:packument:cheerio Completed in 33ms
npm timing metavuln:load:security-advisory:cheerio:QvKraIGpcyVxEwFP0qxpEFcY9Kx8ThCeiILkMKxPQIjEnGuEnh3anOmKy/kR5kMZzYPfqYeVltD9/X58U3TjZA== Completed in 0ms
npm timing metavuln:calculate:security-advisory:cheerio:QvKraIGpcyVxEwFP0qxpEFcY9Kx8ThCeiILkMKxPQIjEnGuEnh3anOmKy/kR5kMZzYPfqYeVltD9/X58U3TjZA== Completed in 35ms
npm timing metavuln:cache:get:security-advisory:sqlite3:f9s1I/Tj325wdecgYF4VxePWPGj+2me/dN1a8AXqcIr2FBgeGWsMHUYWYe2JcQaAgwor00hmNYcQu++pps/yCQ== Completed in 9ms
npm http fetch GET 200 https://registry.npmjs.org/sqlite3 28ms (cache hit)
npm timing metavuln:packument:sqlite3 Completed in 33ms
npm timing metavuln:load:security-advisory:sqlite3:6+ggosCGh9zUgnYlHhEwGHNCbAfeugEO2MRfByrpjAnuhf71rldpYpnhq1DXAIWBdH4Dh0Y2vP+5LrlHG2Qhww== Completed in 2ms
npm timing metavuln:calculate:security-advisory:sqlite3:6+ggosCGh9zUgnYlHhEwGHNCbAfeugEO2MRfByrpjAnuhf71rldpYpnhq1DXAIWBdH4Dh0Y2vP+5LrlHG2Qhww== Completed in 36ms
npm timing metavuln:cache:get:security-advisory:wide-align:Wqz3XbNZ7TpL5xlvylpEAtzvuEMdLyqgIseQu1jnX/GLXGW23bqxL8f5MmMuMSkDSJATeM8ON0buq8NeCr/TTQ== Completed in 15ms
npm timing metavuln:cache:get:security-advisory:inquirer:IOy1uQunqwb0OKw3I4ZNeKN9PQqdueQIdYpHaUllV6YGATAyjEqiNRG5vW4F5WXPfP8XWMIiBkvaFremUajJrw== Completed in 21ms
npm timing metavuln:load:security-advisory:inquirer:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:inquirer:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 25ms
npm timing metavuln:cache:get:security-advisory:table:4M+57QTiDS22KNsr9oT+G5mUH3dOBHkvMQhXF5QO4QA0omxhiSLfoSYaIWglcwikiXbn1BqoDDhegOZFv7UPvQ== Completed in 25ms
npm timing reifyNode:node_modules/sharp Completed in 899ms
npm timing reify:unpack Completed in 902ms
npm timing reify:unretire Completed in 0ms
npm timing build:queue Completed in 3ms
npm http fetch GET 200 https://registry.npmjs.org/wide-align 67ms (cache hit)
npm timing metavuln:packument:wide-align Completed in 69ms
npm timing metavuln:load:security-advisory:wide-align:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 1ms
npm timing metavuln:calculate:security-advisory:wide-align:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 70ms
npm http fetch GET 200 https://registry.npmjs.org/table 70ms (cache hit)
npm timing metavuln:packument:table Completed in 72ms
npm timing metavuln:load:security-advisory:table:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 0ms
npm timing metavuln:calculate:security-advisory:table:z8iR7PVusZCDbQbpBbfUOlp4nWW5lica+XU9Ck0Wj4d793LOue6orGcnetE+RgMcvOtyfG+VyOfSi0Yzr3ZiWw== Completed in 74ms
npm timing build:link:node_modules/sharp/node_modules/prebuild-install Completed in 45ms
npm timing build:link Completed in 45ms
npm info run sharp@0.29.3 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm timing metavuln:cache:get:security-advisory:google-play-scraper:2x/3rE5SOlCtlyTeAUFQKnTeHZn3jHGV8CtWN8PEl960D6tcFxVUX6kpUMM/md0SW2GES7yGMziA1edW3WdIGg== Completed in 23ms
npm http fetch GET 200 https://registry.npmjs.org/google-play-scraper 34ms (cache hit)
npm timing metavuln:packument:google-play-scraper Completed in 36ms
npm timing metavuln:load:security-advisory:google-play-scraper:2FRUXL7F8oV2YWe4C+eEEOa1BulAqIY2Ja1R/Zq9kEO4j0b/3us8sh2GGUYNzJbvgaTBJNJC5e8KzNxG69KU/A== Completed in 0ms
npm timing metavuln:calculate:security-advisory:google-play-scraper:2FRUXL7F8oV2YWe4C+eEEOa1BulAqIY2Ja1R/Zq9kEO4j0b/3us8sh2GGUYNzJbvgaTBJNJC5e8KzNxG69KU/A== Completed in 38ms
npm timing metavuln:cache:get:security-advisory:eslint:O/YDu5AZQJgdzhnZ3jxffVSrVzv8PhFbuIz8VMFWzxm9t/+P++8FUi95T5ozp0E1j7lHe7IIxqsPs7jt0twHZA== Completed in 9ms
npm timing metavuln:load:security-advisory:eslint:pAR64lahnjZHUNciTAuoifx73D9SeH4NfbcHfv8LXd35C9Kzet1ZBQBs59fss9/pIGqNJfvS1VUaPG3JE7OLLw== Completed in 1ms
npm timing metavuln:calculate:security-advisory:eslint:pAR64lahnjZHUNciTAuoifx73D9SeH4NfbcHfv8LXd35C9Kzet1ZBQBs59fss9/pIGqNJfvS1VUaPG3JE7OLLw== Completed in 40ms
npm timing metavuln:cache:get:security-advisory:google-play-scraper:VYVLsQSeQKSucAZqXTdViODmuym+KgTPVctf8jyqYAHa5frGzdtMq21+kFhmc2tnejoa0Zoz4TblwNoXkbmmqg== Completed in 20ms
npm timing metavuln:load:security-advisory:google-play-scraper:T4E2lUfP1nswQFSQppAD0MMq1r2AMfLR2ggfNzT8MLxx52/PiVVxmzRjPAEs+IThDCPdEkRldzsQFpfBR6w3pA== Completed in 0ms
npm timing metavuln:calculate:security-advisory:google-play-scraper:T4E2lUfP1nswQFSQppAD0MMq1r2AMfLR2ggfNzT8MLxx52/PiVVxmzRjPAEs+IThDCPdEkRldzsQFpfBR6w3pA== Completed in 21ms
npm timing metavuln:cache:get:security-advisory:eslint:8z9tts++Bn+6UMOg7/D8tCLb8OzP/4whzIVJNg6M1sqcGmN6gqpZryyr8sPxAIMokQd0cMUJ0q7M/i81WGjhcA== Completed in 37ms
npm timing metavuln:load:security-advisory:eslint:4M+57QTiDS22KNsr9oT+G5mUH3dOBHkvMQhXF5QO4QA0omxhiSLfoSYaIWglcwikiXbn1BqoDDhegOZFv7UPvQ== Completed in 1ms
npm timing metavuln:calculate:security-advisory:eslint:4M+57QTiDS22KNsr9oT+G5mUH3dOBHkvMQhXF5QO4QA0omxhiSLfoSYaIWglcwikiXbn1BqoDDhegOZFv7UPvQ== Completed in 53ms
npm timing auditReport:init Completed in 885ms
npm timing reify:audit Completed in 1197ms
npm info run sharp@0.29.3 install { code: 0, signal: null }
npm timing build:run:install:node_modules/sharp Completed in 7911ms
npm timing build:run:install Completed in 7913ms
npm timing build:deps Completed in 7962ms
npm timing build Completed in 7963ms
npm timing reify:build Completed in 7964ms
npm timing reify:trash Completed in 0ms
npm timing reify:save Completed in 484ms
npm timing reify Completed in 12592ms

added 9 packages, and audited 812 packages in 13s

80 packages are looking for funding
  run `npm fund` for details

20 vulnerabilities (2 low, 12 moderate, 6 high)

To address issues that do not require attention, run:
  npm audit fix

To address all issues possible (including breaking changes), run:
  npm audit fix --force

Some issues need review, and may require choosing
a different dependency.

Run `npm audit` for details.
npm timing command:install Completed in 12628ms
npm verb exit 0
npm timing npm Completed in 13505ms
npm info ok

What is the output of running npx envinfo --binaries --system?

System:
    OS: Windows 10 10.0.22000
    CPU: (4) x64 Intel(R) Core(TM) i5-6400 CPU @ 2.70GHz
    Memory: 8.03 GB / 15.87 GB
  Binaries:
    Node: 16.6.1 - C:\Program Files\nodejs\node.EXE
    npm: 8.1.3 - C:\Program Files\nodejs\npm.CMD

Description: The module was installed successfully, but when I was running the code I wrote, and the console outputed this:

Something went wrong installing the "sharp" module

The specified procedure could not be found.
\\?\C:\Users\Kay\Desktop\KayBotTypeScriptJDA\node_modules\sharp\build\Release\sharp-win32-x64.node

And I checked whether the file was exist...... image The file was exist

lovell commented 2 years ago

Is the canvas module also a dependency? If so, please see https://sharp.pixelplumbing.com/install#known-conflicts

Malikx-Alee commented 2 years ago

@Kayxue Have you been able to fix it? and how? Thanks.

Kayxue commented 2 years ago

@Kayxue Have you been able to fix it? and how? Thanks.

Yes, I fixed this by usinstalling chartjs-node-canvas module

its-dibo commented 2 years ago

I have the same issue and don't have canvas installed

s33you commented 1 year ago

Hi,friend,did you fix it yet?