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.37k stars 1.3k forks source link

Error installing sharp on windows, with canvas as dependency #2548

Closed Glutch closed 3 years ago

Glutch commented 3 years ago

Did you see the documentation relating to installation? Yes

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? No, how? (I've selected x64 with everything i believe)

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 installing as a root or sudo user, have you tried with the npm install --unsafe-perm flag? I dont install as root or sudo

If you are using the ignore-scripts feature of npm, have you tried with the npm install --ignore-scripts=false flag? Don't know if im doing that, however i ran "Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope LocalMachine" to see if any problems got fixed but no

What is the complete output of running npm install --verbose sharp? Have you checked this output for useful error messages?

npm install --verbose sharp
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\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@7.4.0
npm info using node@v15.6.0
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 2ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 1ms
npm timing config:load:env Completed in 1ms
npm timing config:load:file:C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\.npmrc Completed in 0ms
npm timing config:load:project Completed in 1ms
npm timing config:load:file:C:\Users\user\.npmrc Completed in 1ms
npm timing config:load:user Completed in 1ms
npm timing config:load:file:C:\Users\user\AppData\Roaming\npm\etc\npmrc Completed in 0ms
npm timing config:load:global Completed in 0ms
npm timing config:load:cafile Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:setUserAgent Completed in 1ms
npm timing config:load:setEnvs Completed in 0ms
npm timing config:load Completed in 8ms
npm verb npm-session b2002fd4cc91aa8f
npm timing npm:load Completed in 20ms
npm timing arborist:ctor Completed in 0ms
npm timing idealTree:init Completed in 213ms
npm timing idealTree:userRequests Completed in 3ms
npm http fetch GET 304 https://registry.npmjs.org/sharp 1041ms (from cache)
npm timing idealTree:#root Completed in 1047ms
npm timing idealTree:buildDeps Completed in 1047ms
npm timing idealTree:fixDepFlags Completed in 8ms
npm timing idealTree Completed in 1279ms
npm timing reify:loadTrees Completed in 1280ms   
npm timing reify:diffTrees Completed in 11ms   
npm timing reify:retireShallow Completed in 1ms
npm timing reify:createSparse Completed in 124ms
npm timing reify:loadBundles Completed in 0ms   
npm timing reifyNode:node_modules/spdx-exceptions Completed in 2724ms
npm timing reifyNode:node_modules/parse-bmfont-ascii Completed in 2730ms
npm timing reifyNode:node_modules/osenv Completed in 2733ms
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 2765ms
npm timing auditReport:getReport Completed in 2768ms
npm timing reifyNode:node_modules/boolbase Completed in 2777ms
npm timing reifyNode:node_modules/@tokenizer/token Completed in 2780ms
npm timing reifyNode:node_modules/yargs/node_modules/string-width Completed in 2804ms
npm timing reifyNode:node_modules/yargs/node_modules/path-exists Completed in 2806ms
npm timing reifyNode:node_modules/yargs/node_modules/is-fullwidth-code-point Completed in 2807ms
npm timing reifyNode:node_modules/yargs/node_modules/p-locate Completed in 2808ms
npm timing reifyNode:node_modules/yargs/node_modules/ansi-regex Completed in 2809ms
npm timing reifyNode:node_modules/yargs/node_modules/find-up Completed in 2812ms
npm timing reifyNode:node_modules/yargs/node_modules/locate-path Completed in 2813ms
npm timing reifyNode:node_modules/xml-parse-from-string Completed in 2815ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/string-width Completed in 2815ms
npm timing reifyNode:node_modules/wrappy Completed in 2817ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/is-fullwidth-code-point Completed in 2817ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/ansi-regex Completed in 2818ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/ansi-styles Completed in 2819ms
npm timing reifyNode:node_modules/wrap-ansi Completed in 2821ms
npm timing reifyNode:node_modules/which-pm-runs Completed in 2821ms
npm timing reifyNode:node_modules/wide-align Completed in 2823ms
npm timing reifyNode:node_modules/validate-npm-package-license Completed in 2823ms
npm timing reifyNode:node_modules/tar-fs/node_modules/chownr Completed in 2824ms
npm timing reifyNode:node_modules/strip-json-comments Completed in 2825ms
npm timing reifyNode:node_modules/strip-ansi Completed in 2827ms
npm timing reifyNode:node_modules/strip-final-newline Completed in 2828ms
npm timing reifyNode:node_modules/string-width Completed in 2831ms
npm timing reifyNode:node_modules/spdx-license-ids Completed in 2831ms
npm timing reifyNode:node_modules/socks-proxy-agent/node_modules/ms Completed in 2834ms
npm timing reifyNode:node_modules/simple-swizzle Completed in 2835ms
npm timing reifyNode:node_modules/simple-get Completed in 2836ms
npm timing reifyNode:node_modules/sharp/node_modules/prebuild-install/node_modules/simple-get Completed in 2836ms
npm timing reifyNode:node_modules/repeat-string Completed in 2839ms
npm timing reifyNode:node_modules/process-nextick-args Completed in 2840ms
npm timing reifyNode:node_modules/path-is-absolute Completed in 2848ms
npm timing reifyNode:node_modules/parse-json Completed in 2849ms
npm timing reifyNode:node_modules/parse-bmfont-binary Completed in 2850ms
npm timing reifyNode:node_modules/pad-left Completed in 2851ms
npm timing reifyNode:node_modules/os-tmpdir Completed in 2852ms
npm timing reifyNode:node_modules/once Completed in 2853ms
npm timing reifyNode:node_modules/os-homedir Completed in 2854ms
npm timing reifyNode:node_modules/oauth-sign Completed in 2856ms
npm timing reifyNode:node_modules/number-is-nan Completed in 2900ms
npm timing reifyNode:node_modules/object-assign Completed in 2901ms
npm timing reifyNode:node_modules/npm-packlist Completed in 2902ms
npm timing reifyNode:node_modules/normalize-path Completed in 2903ms
npm timing reifyNode:node_modules/npm-bundled Completed in 2905ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/file-type Completed in 2907ms
npm timing reifyNode:node_modules/mkdirp-classic Completed in 2933ms
npm timing reifyNode:node_modules/ms Completed in 2934ms
npm timing reifyNode:node_modules/mute-stream Completed in 2935ms
npm timing reifyNode:node_modules/min-indent Completed in 2936ms
npm timing reifyNode:node_modules/merge-stream Completed in 2936ms
npm timing reifyNode:node_modules/magicli/node_modules/path-exists Completed in 2937ms
npm timing reifyNode:node_modules/magicli/node_modules/p-locate Completed in 2968ms
npm timing reifyNode:node_modules/magicli/node_modules/p-try Completed in 2969ms
npm timing reifyNode:node_modules/magicli/node_modules/find-up Completed in 2970ms
npm timing reifyNode:node_modules/magicli/node_modules/locate-path Completed in 2998ms
npm timing reifyNode:node_modules/magicli/node_modules/p-limit Completed in 2999ms
npm timing reifyNode:node_modules/log-symbols/node_modules/has-flag Completed in 3000ms
npm timing reifyNode:node_modules/log-symbols/node_modules/ansi-styles Completed in 3000ms
npm timing reifyNode:node_modules/lodash.isplainobject Completed in 3004ms
npm timing reifyNode:node_modules/lodash.flatten Completed in 3034ms
npm timing reifyNode:node_modules/jsdom/node_modules/ip-regex Completed in 3036ms
npm timing reifyNode:node_modules/is-plain-obj Completed in 3068ms
npm timing reifyNode:node_modules/is-fullwidth-code-point Completed in 3069ms
npm timing reifyNode:node_modules/inflight Completed in 3110ms
npm timing reifyNode:node_modules/ini Completed in 3111ms
npm timing reifyNode:node_modules/ignore-walk Completed in 3112ms
npm timing reifyNode:node_modules/https-proxy-agent/node_modules/ms Completed in 3114ms
npm timing reifyNode:node_modules/has-unicode Completed in 3115ms
npm timing reifyNode:node_modules/glsl-shader-name Completed in 3116ms
npm timing reifyNode:node_modules/get-stdin Completed in 3118ms
npm timing reifyNode:node_modules/fast-levenshtein Completed in 3146ms
npm timing reifyNode:node_modules/escape-string-regexp Completed in 3147ms
npm timing reifyNode:node_modules/error-ex Completed in 3148ms
npm timing reifyNode:node_modules/end-of-stream Completed in 3150ms
npm timing reifyNode:node_modules/editly/node_modules/universalify Completed in 3176ms
npm timing reifyNode:node_modules/editly/node_modules/shebang-command Completed in 3177ms
npm timing reifyNode:node_modules/editly/node_modules/jsonfile/node_modules/universalify Completed in 3178ms
npm timing reifyNode:node_modules/decamelize-keys/node_modules/map-obj Completed in 3179ms
npm timing reifyNode:node_modules/decamelize Completed in 3180ms
npm timing reifyNode:node_modules/decamelize-keys Completed in 3181ms
npm timing reifyNode:node_modules/code-point-at Completed in 3184ms
npm timing reifyNode:node_modules/color-name Completed in 3211ms
npm timing reifyNode:node_modules/cliui/node_modules/is-fullwidth-code-point Completed in 3212ms
npm timing reifyNode:node_modules/cliui/node_modules/ansi-regex Completed in 3213ms
npm timing reifyNode:node_modules/cliui/node_modules/string-width Completed in 3213ms
npm timing reifyNode:node_modules/cliss/node_modules/strip-ansi Completed in 3215ms
npm timing reifyNode:node_modules/cliss/node_modules/camelcase Completed in 3239ms
npm timing reifyNode:node_modules/chownr Completed in 3239ms
npm timing reifyNode:node_modules/cliss/node_modules/ansi-regex Completed in 3241ms
npm timing reifyNode:node_modules/canvas/node_modules/chownr Completed in 3240ms
npm timing reifyNode:node_modules/canvas/node_modules/fs-minipass Completed in 3242ms
npm timing reifyNode:node_modules/brace-expansion Completed in 3243ms
npm timing reifyNode:node_modules/buffer-crc32 Completed in 3243ms
npm timing reifyNode:node_modules/bindings Completed in 3245ms
npm timing reifyNode:node_modules/at-least-node Completed in 3271ms
npm timing reifyNode:node_modules/arrify Completed in 3272ms
npm timing reifyNode:node_modules/ansi-regex Completed in 3272ms
npm timing reifyNode:node_modules/aproba Completed in 3274ms
npm timing reifyNode:node_modules/agent-base/node_modules/ms Completed in 3274ms
npm timing reifyNode:node_modules/add-line-numbers Completed in 3275ms
npm timing reifyNode:node_modules/abbrev Completed in 3275ms
npm timing reifyNode:node_modules/acorn-globals Completed in 3276ms
npm timing reifyNode:node_modules/@types/debug Completed in 3277ms
npm timing reifyNode:node_modules/@types/normalize-package-data Completed in 3277ms
npm timing reifyNode:node_modules/@types/minimist Completed in 3279ms
npm timing reifyNode:node_modules/@babel/highlight/node_modules/has-flag Completed in 3313ms
npm timing reifyNode:node_modules/@babel/highlight/node_modules/ansi-styles Completed in 3356ms
npm timing reifyNode:node_modules/zip-stream Completed in 3378ms
npm timing reifyNode:node_modules/yargs/node_modules/strip-ansi Completed in 3379ms
npm timing reifyNode:node_modules/y18n Completed in 3378ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/strip-ansi Completed in 3379ms
npm timing reifyNode:node_modules/word-wrap Completed in 3402ms
npm timing reifyNode:node_modules/which-module Completed in 3403ms
npm timing reifyNode:node_modules/url-regex Completed in 3403ms
npm timing reifyNode:node_modules/tunnel-agent Completed in 3404ms
npm timing reifyNode:node_modules/trim-newlines Completed in 3405ms
npm timing reifyNode:node_modules/through2 Completed in 3404ms
npm timing reifyNode:node_modules/supports-color Completed in 3406ms
npm timing reifyNode:node_modules/strip-indent Completed in 3406ms
npm timing reifyNode:node_modules/string_decoder Completed in 3407ms
npm timing reifyNode:node_modules/sharp/node_modules/simple-get Completed in 3407ms
npm timing reifyNode:node_modules/sharp/node_modules/mimic-response Completed in 3407ms
npm timing reifyNode:node_modules/sharp/node_modules/simple-get/node_modules/decompress-response Completed in 3431ms
npm timing reifyNode:node_modules/set-blocking Completed in 3432ms
npm timing reifyNode:node_modules/restore-cursor Completed in 3433ms
npm timing reifyNode:node_modules/require-main-filename Completed in 3434ms
npm timing reifyNode:node_modules/redent Completed in 3435ms
npm timing reifyNode:node_modules/read-pkg-up Completed in 3435ms
npm timing reifyNode:node_modules/quick-lru Completed in 3437ms
npm timing reifyNode:node_modules/read-pkg Completed in 3437ms
npm timing reifyNode:node_modules/phin Completed in 3438ms
npm timing reifyNode:node_modules/path-exists Completed in 3439ms
npm timing reifyNode:node_modules/parse5-htmlparser2-tree-adapter Completed in 3440ms
npm timing reifyNode:node_modules/p-locate Completed in 3465ms
npm timing reifyNode:node_modules/p-try Completed in 3466ms
npm timing reifyNode:node_modules/ora/node_modules/strip-ansi Completed in 3467ms
npm timing reifyNode:node_modules/p-limit Completed in 3469ms
npm timing reifyNode:node_modules/ora/node_modules/ansi-regex Completed in 3470ms
npm timing reifyNode:node_modules/onetime Completed in 3470ms
npm timing reifyNode:node_modules/node-tesseract-ocr Completed in 3474ms
npm timing reifyNode:node_modules/minimist-options Completed in 3527ms
npm timing reifyNode:node_modules/minipass Completed in 3528ms
npm timing reifyNode:node_modules/mimic-response Completed in 3529ms
npm timing reifyNode:node_modules/mimic-fn Completed in 3529ms
npm timing reifyNode:node_modules/map-obj Completed in 3529ms
npm timing reifyNode:node_modules/log-symbols/node_modules/supports-color Completed in 3530ms
npm timing reifyNode:node_modules/lru-cache Completed in 3531ms
npm timing reifyNode:node_modules/lodash.padend Completed in 3531ms
npm timing reifyNode:node_modules/lodash.get Completed in 3532ms
npm timing reifyNode:node_modules/locate-path Completed in 3532ms
npm timing reifyNode:node_modules/lodash.defaults Completed in 3533ms
npm timing reifyNode:node_modules/jwa Completed in 3533ms
npm timing reifyNode:node_modules/json-parse-even-better-errors Completed in 3534ms
npm timing reifyNode:node_modules/is-typedarray Completed in 3535ms
npm timing reifyNode:node_modules/is-stream Completed in 3536ms
npm timing reifyNode:node_modules/is-interactive Completed in 3561ms
npm timing reifyNode:node_modules/is-function Completed in 3561ms
npm timing reifyNode:node_modules/iota-array Completed in 3562ms
npm timing reifyNode:node_modules/ip-regex Completed in 3563ms
npm timing reifyNode:node_modules/inherits Completed in 3564ms
npm timing reifyNode:node_modules/indent-string Completed in 3564ms
npm timing reifyNode:node_modules/ieee754 Completed in 3565ms
npm timing reifyNode:node_modules/html-encoding-sniffer Completed in 3566ms
npm timing reifyNode:node_modules/has-flag Completed in 3567ms
npm timing reifyNode:node_modules/google-auth-library/node_modules/arrify Completed in 3569ms
npm timing reifyNode:node_modules/gl-format-compiler-error Completed in 3594ms
npm timing reifyNode:node_modules/gl-buffer Completed in 3595ms
npm timing reifyNode:node_modules/fs-minipass Completed in 3597ms
npm timing reifyNode:node_modules/fs-constants Completed in 3598ms
npm timing reifyNode:node_modules/forever-agent Completed in 3599ms
npm timing reifyNode:node_modules/find-up Completed in 3600ms
npm timing reifyNode:node_modules/file-url Completed in 3652ms
npm timing reifyNode:node_modules/env-paths Completed in 3652ms
npm timing reifyNode:node_modules/editly/node_modules/shebang-regex Completed in 3654ms
npm timing reifyNode:node_modules/editly/node_modules/is-stream Completed in 3654ms
npm timing reifyNode:node_modules/editly/node_modules/path-key Completed in 3655ms
npm timing reifyNode:node_modules/editly/node_modules/p-map Completed in 3655ms
npm timing reifyNode:node_modules/editly/node_modules/npm-run-path Completed in 3656ms
npm timing reifyNode:node_modules/decompress-response Completed in 3657ms
npm timing reifyNode:node_modules/console-control-strings Completed in 3658ms
npm timing reifyNode:node_modules/color-string Completed in 3659ms
npm timing reifyNode:node_modules/cliui/node_modules/strip-ansi Completed in 3660ms
npm timing reifyNode:node_modules/color Completed in 3661ms
npm timing reifyNode:node_modules/clean-stack Completed in 3661ms
npm timing reifyNode:node_modules/caseless Completed in 3661ms
npm timing reifyNode:node_modules/cli-cursor Completed in 3662ms
npm timing reifyNode:node_modules/canvas/node_modules/minizlib Completed in 3663ms
npm timing reifyNode:node_modules/canvas/node_modules/minipass Completed in 3664ms
npm timing reifyNode:node_modules/browser-process-hrtime Completed in 3686ms
npm timing reifyNode:node_modules/camelcase-keys Completed in 3687ms
npm timing reifyNode:node_modules/camelcase Completed in 3688ms
npm timing reifyNode:node_modules/balanced-match Completed in 3688ms
npm timing reifyNode:node_modules/aws-sign2 Completed in 3689ms
npm timing reifyNode:node_modules/assert-plus Completed in 3690ms
npm timing reifyNode:node_modules/aggregate-error Completed in 3691ms
npm timing reifyNode:node_modules/@babel/highlight/node_modules/supports-color Completed in 3727ms
npm timing reifyNode:node_modules/@babel/highlight Completed in 3750ms
npm timing reifyNode:node_modules/zip-stream/node_modules/string_decoder Completed in 3772ms
npm timing reifyNode:node_modules/@babel/code-frame Completed in 3752ms
npm timing reifyNode:node_modules/yallist Completed in 3772ms
npm timing reifyNode:node_modules/webidl-conversions Completed in 3773ms
npm timing reifyNode:node_modules/util-deprecate Completed in 3773ms
npm timing reifyNode:node_modules/tar-stream/node_modules/string_decoder Completed in 3773ms
npm timing reifyNode:node_modules/stringify-parameters/node_modules/magicli Completed in 3775ms
npm timing reifyNode:node_modules/spdx-correct Completed in 3775ms
npm timing reifyNode:node_modules/stealthy-require Completed in 3798ms
npm timing reifyNode:node_modules/signal-exit Completed in 3799ms
npm timing reifyNode:node_modules/request-promise-native Completed in 3800ms
npm timing reifyNode:node_modules/path-parse Completed in 3801ms
npm timing reifyNode:node_modules/object-to-arguments/node_modules/magicli Completed in 3801ms
npm timing reifyNode:node_modules/ndarray-ops Completed in 3803ms
npm timing reifyNode:node_modules/minimatch Completed in 3805ms
npm timing reifyNode:node_modules/meow Completed in 3850ms
npm timing reifyNode:node_modules/lodash.union Completed in 3851ms
npm timing reifyNode:node_modules/log-symbols Completed in 3852ms
npm timing reifyNode:node_modules/lodash.difference Completed in 3852ms
npm timing reifyNode:node_modules/kind-of Completed in 3853ms
npm timing reifyNode:node_modules/js-tokens Completed in 3853ms
npm timing reifyNode:node_modules/isarray Completed in 3876ms
npm timing reifyNode:node_modules/is-buffer Completed in 3877ms
npm timing reifyNode:node_modules/inspect-property/node_modules/inspect-parameters-declaration/node_modules/magicli Completed in 3877ms
npm timing reifyNode:node_modules/inspect-parameters-declaration/node_modules/magicli Completed in 3877ms
npm timing reifyNode:node_modules/hard-rejection Completed in 3878ms
npm timing reifyNode:node_modules/gl-texture2d Completed in 3878ms
npm timing reifyNode:node_modules/gl-transition Completed in 3878ms
npm timing reifyNode:node_modules/get-caller-file Completed in 3879ms
npm timing reifyNode:node_modules/fs.realpath Completed in 3880ms
npm timing reifyNode:node_modules/fs-extra/node_modules/rimraf Completed in 3880ms
npm timing reifyNode:node_modules/expand-template Completed in 3880ms
npm timing reifyNode:node_modules/defaults Completed in 3881ms
npm timing reifyNode:node_modules/data-urls Completed in 3881ms
npm timing reifyNode:node_modules/crc32-stream/node_modules/string_decoder Completed in 3882ms
npm timing reifyNode:node_modules/combined-stream Completed in 3905ms
npm timing reifyNode:node_modules/clone Completed in 3906ms
npm timing reifyNode:node_modules/cliui Completed in 3907ms
npm timing reifyNode:node_modules/canvas/node_modules/rimraf Completed in 3906ms
npm timing reifyNode:node_modules/canvas/node_modules/yallist Completed in 3907ms
npm timing reifyNode:node_modules/bl/node_modules/string_decoder Completed in 3908ms
npm timing reifyNode:node_modules/base64-js Completed in 3908ms
npm timing reifyNode:node_modules/atob-lite Completed in 3908ms
npm timing reifyNode:node_modules/archiver/node_modules/string_decoder Completed in 3909ms
npm timing reifyNode:node_modules/array-equal Completed in 3909ms
npm timing reifyNode:node_modules/archiver-utils Completed in 3910ms
npm timing reifyNode:node_modules/ansi-styles Completed in 3911ms
npm timing reifyNode:node_modules/@jimp/core/node_modules/file-type Completed in 3948ms
npm timing reifyNode:node_modules/xtend Completed in 3997ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/color-name Completed in 4025ms
npm timing reifyNode:node_modules/uniq Completed in 4026ms
npm timing reifyNode:node_modules/utif Completed in 4028ms
npm timing reifyNode:node_modules/typedarray-to-buffer Completed in 4057ms
npm timing reifyNode:node_modules/text2png Completed in 4059ms
npm timing reifyNode:node_modules/simple-concat Completed in 4066ms
npm timing reifyNode:node_modules/readable-web-to-node-stream Completed in 4088ms
npm timing reifyNode:node_modules/regenerator-runtime Completed in 4090ms
npm timing reifyNode:node_modules/pump Completed in 4090ms
npm timing reifyNode:node_modules/parse-bmfont-xml Completed in 4140ms
npm timing reifyNode:node_modules/ora Completed in 4142ms
npm timing reifyNode:node_modules/omggif Completed in 4142ms
npm timing reifyNode:node_modules/npmlog Completed in 4144ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/readable-stream/node_modules/safe-buffer Completed in 4144ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/string_decoder/node_modules/safe-buffer Completed in 4144ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/string_decoder Completed in 4145ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/pump Completed in 4145ms
npm timing reifyNode:node_modules/node-gyp/node_modules/which Completed in 4146ms
npm timing reifyNode:node_modules/ndarray Completed in 4147ms
npm timing reifyNode:node_modules/napi-build-utils Completed in 4147ms
npm timing reifyNode:node_modules/minizlib Completed in 4148ms
npm timing reifyNode:node_modules/mime-types Completed in 4149ms
npm timing reifyNode:node_modules/log-symbols/node_modules/color-name Completed in 4149ms
npm timing reifyNode:node_modules/lines-and-columns Completed in 4150ms
npm timing reifyNode:node_modules/lazystream/node_modules/string_decoder Completed in 4150ms
npm timing reifyNode:node_modules/lazystream/node_modules/safe-buffer Completed in 4151ms
npm timing reifyNode:node_modules/has Completed in 4152ms
npm timing reifyNode:node_modules/har-validator Completed in 4176ms
npm timing reifyNode:node_modules/graceful-fs Completed in 4177ms
npm timing reifyNode:node_modules/getpass Completed in 4179ms
npm timing reifyNode:node_modules/editly/node_modules/which Completed in 4180ms
npm timing reifyNode:node_modules/editly/node_modules/get-stream Completed in 4181ms
npm timing reifyNode:node_modules/dup Completed in 4180ms
npm timing reifyNode:node_modules/domelementtype Completed in 4181ms
npm timing reifyNode:node_modules/dom-walk Completed in 4182ms
npm timing reifyNode:node_modules/delayed-stream Completed in 4211ms
npm timing reifyNode:node_modules/deep-extend Completed in 4212ms
npm timing reifyNode:node_modules/compress-commons/node_modules/safe-buffer Completed in 4213ms
npm timing reifyNode:node_modules/compress-commons/node_modules/string_decoder Completed in 4213ms
npm timing reifyNode:node_modules/color/node_modules/color-name Completed in 4213ms
npm timing reifyNode:node_modules/canvas/node_modules/mkdirp Completed in 4214ms
npm timing reifyNode:node_modules/buffer-equal-constant-time Completed in 4260ms
npm timing reifyNode:node_modules/are-we-there-yet/node_modules/string_decoder Completed in 4261ms
npm timing reifyNode:node_modules/are-we-there-yet/node_modules/safe-buffer Completed in 4262ms
npm timing reifyNode:node_modules/archiver-utils/node_modules/string_decoder Completed in 4262ms
npm timing reifyNode:node_modules/archiver-utils/node_modules/safe-buffer Completed in 4287ms
npm timing reifyNode:node_modules/ansi-escape-sequences/node_modules/array-back Completed in 4287ms
npm timing reifyNode:node_modules/@jimp/core/node_modules/mkdirp Completed in 4289ms
npm timing reifyNode:node_modules/@babel/highlight/node_modules/color-name Completed in 4290ms
npm timing reifyNode:node_modules/whatwg-encoding Completed in 4309ms
npm timing reifyNode:node_modules/unpack-string Completed in 4309ms
npm timing reifyNode:node_modules/split-skip Completed in 4310ms
npm timing reifyNode:node_modules/spdx-expression-parse Completed in 4333ms
npm timing reifyNode:node_modules/safe-buffer Completed in 4333ms
npm timing reifyNode:node_modules/sax Completed in 4334ms
npm timing reifyNode:node_modules/rimraf Completed in 4334ms
npm timing reifyNode:node_modules/require-directory Completed in 4335ms
npm timing reifyNode:node_modules/request-promise Completed in 4335ms
npm timing reifyNode:node_modules/punycode Completed in 4335ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/isarray Completed in 4335ms
npm timing reifyNode:node_modules/miniget Completed in 4338ms
npm timing reifyNode:node_modules/merge-images Completed in 4362ms
npm timing reifyNode:node_modules/lodash.sortby Completed in 4363ms
npm timing reifyNode:node_modules/load-bmfont Completed in 4364ms
npm timing reifyNode:node_modules/lazystream/node_modules/isarray Completed in 4365ms
npm timing reifyNode:node_modules/klaw Completed in 4365ms
npm timing reifyNode:node_modules/jsprim Completed in 4365ms
npm timing reifyNode:node_modules/jsonfile Completed in 4366ms
npm timing reifyNode:node_modules/is-arrayish Completed in 4368ms
npm timing reifyNode:node_modules/inspect-property/node_modules/inspect-parameters-declaration/node_modules/split-skip Completed in 4368ms
npm timing reifyNode:node_modules/inspect-property/node_modules/inspect-parameters-declaration/node_modules/inspect-function/node_modules/split-skip Completed in 4368ms 
npm timing reifyNode:node_modules/inspect-property/node_modules/split-skip Completed in 4370ms
npm timing reifyNode:node_modules/inspect-function/node_modules/split-skip Completed in 4398ms
npm timing reifyNode:node_modules/global Completed in 4399ms
npm timing reifyNode:node_modules/error-ex/node_modules/is-arrayish Completed in 4411ms
npm timing reifyNode:node_modules/editly/node_modules/jsonfile Completed in 4426ms
npm timing reifyNode:node_modules/crc32-stream Completed in 4427ms
npm timing reifyNode:node_modules/compress-commons/node_modules/isarray Completed in 4427ms
npm timing reifyNode:node_modules/cli-spinners Completed in 4427ms
npm timing reifyNode:node_modules/buffer-equal Completed in 4429ms
npm timing reifyNode:node_modules/bcrypt-pbkdf Completed in 4429ms
npm timing reifyNode:node_modules/are-we-there-yet/node_modules/isarray Completed in 4454ms
npm timing reifyNode:node_modules/archiver-utils/node_modules/isarray Completed in 4455ms
npm timing reifyNode:node_modules/xml-name-validator Completed in 4476ms
npm timing reifyNode:node_modules/wrap-ansi/node_modules/color-convert Completed in 4475ms
npm timing reifyNode:node_modules/typedarray-pool Completed in 4476ms
npm timing reifyNode:node_modules/token-types Completed in 4477ms
npm timing reifyNode:node_modules/type-check Completed in 4503ms
npm timing reifyNode:node_modules/tlds Completed in 4503ms
npm timing reifyNode:node_modules/socks-proxy-agent/node_modules/debug Completed in 4503ms
npm timing reifyNode:node_modules/socks-proxy-agent Completed in 4504ms
npm timing reifyNode:node_modules/progress Completed in 4503ms
npm timing reifyNode:node_modules/process Completed in 4504ms
npm timing reifyNode:node_modules/peek-readable Completed in 4505ms
npm timing reifyNode:node_modules/parse-headers Completed in 4505ms
npm timing reifyNode:node_modules/ora/node_modules/chalk Completed in 4506ms
npm timing reifyNode:node_modules/log-symbols/node_modules/color-convert Completed in 4562ms
npm timing reifyNode:node_modules/json-bigint Completed in 4562ms
npm timing reifyNode:node_modules/https-proxy-agent/node_modules/debug Completed in 4563ms
npm timing reifyNode:node_modules/hosted-git-info Completed in 4565ms
npm timing reifyNode:node_modules/gl-constants Completed in 4566ms
npm timing reifyNode:node_modules/follow-redirects Completed in 4569ms
npm timing reifyNode:node_modules/domexception Completed in 4602ms
npm timing reifyNode:node_modules/delegates Completed in 4627ms
npm timing reifyNode:node_modules/concat-map Completed in 4627ms
npm timing reifyNode:node_modules/core-util-is Completed in 4628ms
npm timing reifyNode:node_modules/command-line-usage Completed in 4629ms
npm timing reifyNode:node_modules/color/node_modules/color-convert Completed in 4629ms
npm timing reifyNode:node_modules/color-convert Completed in 4630ms
npm timing reifyNode:node_modules/cliss/node_modules/yargs-parser Completed in 4632ms
npm timing reifyNode:node_modules/agent-base/node_modules/debug Completed in 4656ms
npm timing reifyNode:node_modules/abab Completed in 4656ms
npm timing reifyNode:node_modules/@babel/highlight/node_modules/color-convert Completed in 4658ms
npm timing reifyNode:node_modules/xhr Completed in 4679ms
npm timing reifyNode:node_modules/whatwg-mimetype Completed in 4703ms
npm timing reifyNode:node_modules/safer-buffer Completed in 4703ms
npm timing reifyNode:node_modules/reduce-flatten Completed in 4704ms
npm timing reifyNode:node_modules/noop-logger Completed in 4705ms
npm timing reifyNode:node_modules/nopt Completed in 4706ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/bl Completed in 4729ms
npm timing reifyNode:node_modules/log-symbols/node_modules/chalk Completed in 4732ms
npm timing reifyNode:node_modules/isstream Completed in 4733ms
npm timing reifyNode:node_modules/isexe Completed in 4734ms
npm timing reifyNode:node_modules/inspect-function Completed in 4734ms
npm timing reifyNode:node_modules/inspect-property/node_modules/inspect-parameters-declaration/node_modules/inspect-function Completed in 4736ms
npm timing reifyNode:node_modules/for-each-property-deep Completed in 4763ms
npm timing reifyNode:node_modules/extend Completed in 4763ms
npm timing reifyNode:node_modules/estraverse Completed in 4764ms
npm timing reifyNode:node_modules/ecdsa-sig-formatter Completed in 4764ms
npm timing reifyNode:node_modules/detect-libc Completed in 4766ms
npm timing reifyNode:node_modules/canvas/node_modules/nopt Completed in 4789ms
npm timing reifyNode:node_modules/aws4 Completed in 4789ms
npm timing reifyNode:node_modules/bit-twiddle Completed in 4791ms
npm timing reifyNode:node_modules/@babel/highlight/node_modules/chalk Completed in 4795ms
npm timing reifyNode:node_modules/yargs/node_modules/yargs-parser Completed in 4842ms
npm timing reifyNode:node_modules/wordwrapjs Completed in 4841ms
npm timing reifyNode:node_modules/verror Completed in 4841ms
npm timing reifyNode:node_modules/tar-stream Completed in 4841ms
npm timing reifyNode:node_modules/stringify-parameters Completed in 4842ms
npm timing reifyNode:node_modules/semver Completed in 4843ms
npm timing reifyNode:node_modules/object-to-arguments Completed in 4866ms
npm timing reifyNode:node_modules/node-tesseract/node_modules/glob Completed in 4866ms
npm timing reifyNode:node_modules/jsbn Completed in 4868ms
npm timing reifyNode:node_modules/html-entities Completed in 4869ms
npm timing reifyNode:node_modules/get-prototype-chain Completed in 4916ms
npm timing reifyNode:node_modules/for-each-property Completed in 4918ms
npm timing reifyNode:node_modules/file-uri-to-path Completed in 4944ms
npm timing reifyNode:node_modules/eventemitter3 Completed in 4945ms
npm timing reifyNode:node_modules/cwise-compiler Completed in 4946ms
npm timing reifyNode:node_modules/chalk Completed in 4946ms
npm timing reifyNode:node_modules/are-we-there-yet Completed in 4948ms
npm timing reifyNode:node_modules/any-base Completed in 4976ms
npm timing reifyNode:node_modules/@babel/helper-validator-identifier Completed in 4979ms
npm timing reifyNode:node_modules/wcwidth Completed in 5022ms
npm timing reifyNode:node_modules/w3c-xmlserializer Completed in 5022ms
npm timing reifyNode:node_modules/symbol-tree Completed in 5023ms
npm timing reifyNode:node_modules/request-promise-core Completed in 5023ms
npm timing reifyNode:node_modules/optionator Completed in 5023ms
npm timing reifyNode:node_modules/object-to-arguments/node_modules/inspect-parameters-declaration Completed in 5046ms
npm timing reifyNode:node_modules/json-stringify-safe Completed in 5049ms
npm timing reifyNode:node_modules/jws Completed in 5051ms
npm timing reifyNode:node_modules/inspect-property/node_modules/inspect-parameters-declaration Completed in 5051ms
npm timing reifyNode:node_modules/inspect-property/node_modules/inspect-function Completed in 5051ms
npm timing reifyNode:node_modules/inspect-parameters-declaration Completed in 5051ms
npm timing metavuln:cache:get:security-advisory:url-regex:Bz3I22ZGpMVfaxKbT0guoH+i78yQWFijf4NkPQRblZCzT5myiMnfNtnIKfrMq19IFLiwfx8ykZH5OPZcKrW1mg== Completed in 2322ms
npm timing metavuln:cache:get:security-advisory:yargs-parser:wggLna/MWf0SS4RVuOVF5G/ZiDVijxAaiM9wM/rCy1bMks+TGpf2QGl8AGla/tvYjYRp5H0QrBwyOo1m0VbBKg== Completed in 2327msnpm timing reifyNode:node_modules/glob Completed in 5079ms
npm timing reifyNode:node_modules/gtoken Completed in 5081ms
npm timing reifyNode:node_modules/extsprintf Completed in 5082ms
npm timing reifyNode:node_modules/ecc-jsbn Completed in 5084ms
npm timing reifyNode:node_modules/deep-is Completed in 5112ms
npm timing reifyNode:node_modules/commander Completed in 5113ms
npm timing reifyNode:node_modules/yargs-parser Completed in 5134ms
npm timing reifyNode:node_modules/xml2js Completed in 5157ms
npm timing reifyNode:node_modules/weakmap-shim Completed in 5157ms
npm timing reifyNode:node_modules/w3c-hr-time Completed in 5157ms
npm timing reifyNode:node_modules/typical Completed in 5158ms
npm timing reifyNode:node_modules/table-layout Completed in 5158ms
npm timing reifyNode:node_modules/pipe-functions Completed in 5157ms
npm timing reifyNode:node_modules/node-tesseract Completed in 5188ms
npm timing reifyNode:node_modules/levn Completed in 5192ms
npm timing reifyNode:node_modules/gcp-metadata Completed in 5192ms
npm timing reifyNode:node_modules/fast-text-encoding Completed in 5194ms
npm timing reifyNode:node_modules/escodegen Completed in 5194ms
npm timing reifyNode:node_modules/emoji-regex Completed in 5194ms
npm timing reifyNode:node_modules/define-properties Completed in 5194ms
npm timing reifyNode:node_modules/debug Completed in 5196ms
npm timing reifyNode:node_modules/css-what Completed in 5196ms
npm timing reifyNode:node_modules/asn1 Completed in 5195ms
npm timing reifyNode:node_modules/buffer Completed in 5197ms
npm timing reifyNode:node_modules/@jimp/utils Completed in 5221ms
npm timing reifyNode:node_modules/@jimp/types Completed in 5222ms
npm timing reifyNode:node_modules/@jimp/plugin-invert Completed in 5222ms
npm timing reifyNode:node_modules/@jimp/plugin-dither Completed in 5222ms
npm timing reifyNode:node_modules/text2png/node_modules/commander Completed in 5245ms
npm timing reifyNode:node_modules/saxes Completed in 5268ms
npm timing reifyNode:node_modules/normalize-package-data Completed in 5268ms
npm timing reifyNode:node_modules/mkdirp Completed in 5270ms
npm timing reifyNode:node_modules/fast-deep-equal Completed in 5270ms
npm timing reifyNode:node_modules/ffmpeg Completed in 5314ms
npm timing reifyNode:node_modules/esutils Completed in 5314ms
npm timing reifyNode:node_modules/editly/node_modules/cross-spawn Completed in 5314ms
npm timing reifyNode:node_modules/domhandler Completed in 5315ms
npm timing reifyNode:node_modules/deepmerge Completed in 5316ms
npm timing reifyNode:node_modules/prelude-ls Completed in 5352ms
npm timing reifyNode:node_modules/nth-check Completed in 5353ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/mime Completed in 5353ms
npm timing reifyNode:node_modules/load-bmfont/node_modules/mime Completed in 5403ms
npm timing reifyNode:node_modules/jsdom/node_modules/tough-cookie Completed in 5431ms
npm timing reifyNode:node_modules/json-schema-traverse Completed in 5431ms
npm timing reifyNode:node_modules/is-regex Completed in 5432ms
npm timing reifyNode:node_modules/ip Completed in 5432ms
npm timing reifyNode:node_modules/glsl-tokenizer Completed in 5431ms
npm timing reifyNode:node_modules/github-from-package Completed in 5432ms
npm timing reifyNode:node_modules/function-bind Completed in 5433ms
npm timing reifyNode:node_modules/dom-serializer Completed in 5433ms
npm timing reifyNode:node_modules/dashdash Completed in 5477ms
npm timing reifyNode:node_modules/cheerio-select-tmp Completed in 5476ms
npm timing reifyNode:node_modules/ansi-escape-sequences Completed in 5476ms
npm timing reifyNode:node_modules/@jimp/plugin-scale Completed in 5477ms
npm timing reifyNode:node_modules/@jimp/plugins Completed in 5477ms
npm timing reifyNode:node_modules/@jimp/plugin-flip Completed in 5478ms
npm timing reifyNode:node_modules/@jimp/plugin-displace Completed in 5500ms
npm timing reifyNode:node_modules/@jimp/plugin-gaussian Completed in 5501ms
npm timing reifyNode:node_modules/@jimp/plugin-cover Completed in 5501ms
npm timing reifyNode:node_modules/rc Completed in 5516ms
npm timing reifyNode:node_modules/object-keys Completed in 5516ms
npm timing reifyNode:node_modules/mime Completed in 5516ms
npm timing reifyNode:node_modules/https-proxy-agent Completed in 5514ms
npm timing reifyNode:node_modules/gl-shader Completed in 5514ms
npm timing reifyNode:node_modules/file-type Completed in 5515ms
npm timing reifyNode:node_modules/array.prototype.findindex Completed in 5511ms
npm timing reifyNode:node_modules/tough-cookie Completed in 5593ms
npm timing reifyNode:node_modules/sprintf-js Completed in 5593ms
npm timing reifyNode:node_modules/nwsapi Completed in 5593ms
npm timing reifyNode:node_modules/node-abi Completed in 5594ms
npm timing reifyNode:node_modules/lazystream Completed in 5596ms
npm timing reifyNode:node_modules/inspect-property Completed in 5596ms
npm timing reifyNode:node_modules/image-data-uri Completed in 5596ms
npm timing reifyNode:node_modules/google-p12-pem Completed in 5597ms
npm timing reifyNode:node_modules/editly/node_modules/execa Completed in 5597ms
npm timing reifyNode:node_modules/call-bind Completed in 5597ms
npm timing reifyNode:node_modules/bl Completed in 5623ms
npm timing reifyNode:node_modules/array-flatten Completed in 5623ms
npm timing reifyNode:node_modules/agent-base Completed in 5623ms
npm timing reifyNode:node_modules/acorn-walk Completed in 5624ms
npm timing reifyNode:node_modules/@jimp/plugin-normalize Completed in 5625ms
npm timing reifyNode:node_modules/@jimp/plugin-mask Completed in 5625ms
npm timing reifyNode:node_modules/@jimp/plugin-contain Completed in 5626ms
npm timing reifyNode:node_modules/is-date-object Completed in 5680ms
npm timing reifyNode:node_modules/depd Completed in 5697ms
npm timing reifyNode:node_modules/archiver Completed in 5698ms
npm timing reifyNode:node_modules/@jimp/plugin-fisheye Completed in 5717ms
npm timing reifyNode:node_modules/read-pkg/node_modules/type-fest Completed in 5735ms
npm timing reifyNode:node_modules/http-signature Completed in 5733ms
npm timing reifyNode:node_modules/human-signals Completed in 5734ms
npm timing reifyNode:node_modules/form-data Completed in 5737ms
npm timing reifyNode:node_modules/abort-controller Completed in 5758ms
npm timing reifyNode:node_modules/readable-stream Completed in 5776ms
npm timing reifyNode:node_modules/mime-db Completed in 5797ms
npm timing reifyNode:node_modules/is-symbol Completed in 5797ms
npm timing reifyNode:node_modules/is-callable Completed in 5797ms
npm timing reifyNode:node_modules/@jimp/plugin-shadow Completed in 5799ms
npm timing reifyNode:node_modules/@jimp/custom Completed in 5819ms
npm timing reifyNode:node_modules/whatwg-url Completed in 5839ms
npm timing reifyNode:node_modules/sharp/node_modules/prebuild-install Completed in 5837ms
npm timing reifyNode:node_modules/prebuild-install Completed in 5837ms
npm timing reifyNode:node_modules/npm-normalize-package-bin Completed in 5838ms
npm timing reifyNode:node_modules/get-intrinsic Completed in 5836ms
npm timing reifyNode:node_modules/asynckit Completed in 5858ms
npm timing reifyNode:node_modules/@jimp/plugin-rotate Completed in 5861ms
npm timing reifyNode:node_modules/node-fetch Completed in 5908ms
npm timing reifyNode:node_modules/is-core-module Completed in 5933ms
npm timing reifyNode:node_modules/gaxios Completed in 5933ms
npm timing reifyNode:node_modules/fast-json-stable-stringify Completed in 5933ms
npm timing reifyNode:node_modules/strtok3 Completed in 5979ms
npm timing reifyNode:node_modules/performance-now Completed in 6000ms
npm timing reifyNode:node_modules/@jimp/plugin-circle Completed in 5992ms
npm timing reifyNode:node_modules/uuid Completed in 6010ms
npm timing reifyNode:node_modules/jsonparse Completed in 6050ms
npm timing reifyNode:node_modules/has-symbols Completed in 6050ms
npm timing reifyNode:node_modules/es-to-primitive Completed in 6051ms
npm timing reifyNode:node_modules/ytdl-core Completed in 6089ms
npm timing reifyNode:node_modules/tweetnacl Completed in 6087ms
npm timing reifyNode:node_modules/minimist Completed in 6084ms
npm timing reifyNode:node_modules/har-schema Completed in 6083ms
npm timing reifyNode:node_modules/gauge Completed in 6083ms
npm timing reifyNode:node_modules/entities Completed in 6084ms
npm timing reifyNode:node_modules/event-target-shim Completed in 6106ms
npm timing reifyNode:node_modules/tr46 Completed in 6122ms
npm timing reifyNode:node_modules/read-pkg-up/node_modules/type-fest Completed in 6119ms
npm timing reifyNode:node_modules/node-tesseract/node_modules/node-uuid Completed in 6118ms
npm timing reifyNode:node_modules/@jimp/plugin-blur Completed in 6114ms
npm timing reifyNode:node_modules/@jimp/plugin-crop Completed in 6133ms
npm timing reifyNode:node_modules/url-template Completed in 6152ms
npm timing reifyNode:node_modules/timm Completed in 6151ms
npm timing reifyNode:node_modules/jpeg-js Completed in 6147ms
npm timing reifyNode:node_modules/string.prototype.trimstart Completed in 6158ms
npm timing reifyNode:node_modules/string.prototype.trimend Completed in 6159ms
npm timing reifyNode:node_modules/m3u8stream Completed in 6157ms
npm timing reifyNode:node_modules/esprima Completed in 6202ms
npm timing reifyNode:node_modules/ws Completed in 6241ms
npm timing reifyNode:node_modules/cssom Completed in 6231ms
npm timing reifyNode:node_modules/smart-buffer Completed in 6246ms
npm timing reifyNode:node_modules/compress-commons Completed in 6260ms
npm timing reifyNode:node_modules/@jimp/gif Completed in 6258ms
npm timing reifyNode:node_modules/nanoid Completed in 6273ms
npm timing reifyNode:node_modules/cssstyle/node_modules/cssom Completed in 6294ms
npm timing reifyNode:node_modules/xmlchars Completed in 6311ms
npm timing reifyNode:node_modules/@jimp/jpeg Completed in 6299ms
npm timing reifyNode:node_modules/text-to-image Completed in 6356ms
npm timing reifyNode:node_modules/object.assign Completed in 6354ms
npm timing reifyNode:node_modules/qs Completed in 6358ms
npm timing reifyNode:node_modules/json5 Completed in 6382ms
npm timing reifyNode:node_modules/domutils Completed in 6379ms
npm timing reifyNode:node_modules/googleapis-common Completed in 6393ms
npm timing reifyNode:node_modules/request Completed in 6420ms
npm timing reifyNode:node_modules/htmlparser2 Completed in 6415ms
npm http fetch GET 304 https://registry.npmjs.org/url-regex 3663ms (from cache)
npm timing metavuln:packument:url-regex Completed in 3690ms
npm timing metavuln:load:security-advisory:url-regex:1550 Completed in 0ms
npm timing metavuln:calculate:security-advisory:url-regex:1550 Completed in 3692ms
npm timing reifyNode:node_modules/cheerio Completed in 6445ms
npm timing reifyNode:node_modules/@jimp/png Completed in 6445ms
npm timing reifyNode:node_modules/type-fest Completed in 6486ms
npm timing reifyNode:node_modules/min-document Completed in 6489ms
npm timing reifyNode:node_modules/psl Completed in 6518ms
npm timing reifyNode:node_modules/@jimp/bmp Completed in 6508ms
npm timing reifyNode:node_modules/bignumber.js Completed in 6511ms
npm timing reifyNode:node_modules/node-telegram-bot-api/node_modules/readable-stream Completed in 6523ms
npm timing reifyNode:node_modules/lazystream/node_modules/readable-stream Completed in 6543ms
npm timing reifyNode:node_modules/cliss Completed in 6540ms
npm timing reifyNode:node_modules/compress-commons/node_modules/readable-stream Completed in 6540ms
npm timing reifyNode:node_modules/are-we-there-yet/node_modules/readable-stream Completed in 6539ms
npm timing reifyNode:node_modules/archiver-utils/node_modules/readable-stream Completed in 6540ms
npm timing reifyNode:node_modules/canvas/node_modules/tar Completed in 6546ms
npm timing reifyNode:node_modules/array-back Completed in 6571ms
npm timing reifyNode:node_modules/googleapis-common/node_modules/qs Completed in 6580ms
npm timing reifyNode:node_modules/zip-stream/node_modules/readable-stream Completed in 6674ms
npm timing reifyNode:node_modules/tar-stream/node_modules/readable-stream Completed in 6672ms
npm timing reifyNode:node_modules/crc32-stream/node_modules/readable-stream Completed in 6663ms
npm timing reifyNode:node_modules/archiver/node_modules/readable-stream Completed in 6663ms
npm http fetch GET 304 https://registry.npmjs.org/yargs-parser 3940ms (from cache)
npm timing metavuln:packument:yargs-parser Completed in 3944ms
npm timing metavuln:load:security-advisory:yargs-parser:1500 Completed in 1ms
npm timing metavuln:calculate:security-advisory:yargs-parser:1500 Completed in 3946ms
npm timing reifyNode:node_modules/bl/node_modules/readable-stream Completed in 6697ms
npm timing reifyNode:node_modules/tar Completed in 6739ms
npm timing reifyNode:node_modules/css-select Completed in 6843ms
npm timing reifyNode:node_modules/object-inspect Completed in 6853ms
npm timing reifyNode:node_modules/iconv-lite Completed in 6852ms
npm timing reifyNode:node_modules/tinycolor2 Completed in 6894ms
npm http fetch GET 200 https://registry.npmjs.org/cliss 213ms (from cache)
npm timing metavuln:packument:cliss Completed in 215ms
npm timing metavuln:cache:get:security-advisory:cliss:VbDNVJ2/26dAESAMCab0yi8zK7SZEIQ9OgzZFM2M6ULBqdDf4mVfufYa/qY/zeIUUW924F2Avkw4OdWx7Lim1Q== Completed in 219ms        
npm timing metavuln:load:security-advisory:cliss:wggLna/MWf0SS4RVuOVF5G/ZiDVijxAaiM9wM/rCy1bMks+TGpf2QGl8AGla/tvYjYRp5H0QrBwyOo1m0VbBKg== Completed in 0ms
npm timing metavuln:calculate:security-advisory:cliss:wggLna/MWf0SS4RVuOVF5G/ZiDVijxAaiM9wM/rCy1bMks+TGpf2QGl8AGla/tvYjYRp5H0QrBwyOo1m0VbBKg== Completed in 247ms        
npm timing reifyNode:node_modules/@jimp/plugin-color Completed in 6946ms
npm timing reifyNode:node_modules/pn Completed in 6995ms
npm timing reifyNode:node_modules/node-telegram-bot-api Completed in 7013ms
npm timing reifyNode:node_modules/json-schema Completed in 7012ms
npm timing reifyNode:node_modules/exif-parser Completed in 7011ms
npm timing reifyNode:node_modules/json2csv Completed in 7017ms
npm timing reifyNode:node_modules/canvas/node_modules/node-pre-gyp Completed in 7016ms
npm timing reifyNode:node_modules/@jimp/plugin-resize Completed in 7037ms
npm http fetch GET 200 https://registry.npmjs.org/magicli 104ms (from cache)
npm timing metavuln:packument:magicli Completed in 127ms
npm timing reifyNode:node_modules/sharp/node_modules/semver Completed in 7084ms
npm timing reifyNode:node_modules/node-gyp/node_modules/semver Completed in 7082ms
npm timing reifyNode:node_modules/editly/node_modules/semver Completed in 7078ms
npm timing metavuln:cache:get:security-advisory:magicli:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 132ms      
npm timing metavuln:load:security-advisory:magicli:VbDNVJ2/26dAESAMCab0yi8zK7SZEIQ9OgzZFM2M6ULBqdDf4mVfufYa/qY/zeIUUW924F2Avkw4OdWx7Lim1Q== Completed in 0ms
npm timing metavuln:calculate:security-advisory:magicli:VbDNVJ2/26dAESAMCab0yi8zK7SZEIQ9OgzZFM2M6ULBqdDf4mVfufYa/qY/zeIUUW924F2Avkw4OdWx7Lim1Q== Completed in 133ms      
npm timing reifyNode:node_modules/tar-fs Completed in 7096ms
npm timing reifyNode:node_modules/yargs Completed in 7136ms
npm timing reifyNode:node_modules/xmlbuilder Completed in 7159ms
npm timing reifyNode:node_modules/tiktok-scraper Completed in 7164ms
npm timing reifyNode:node_modules/@jimp/plugin-threshold Completed in 7175ms
npm timing metavuln:cache:get:security-advisory:inspect-function:XNYYGr89Mll/p3J9L5OnWedVyHxclCQ9oYoqOdSK4cjaRg85H3ATSVBBxWX5QCPoORmOOiR6gU0iKPTK2jF3xg== Completed in 118ms
npm timing metavuln:cache:get:security-advisory:image-data-uri:a1V7V/CvlmS3xof1r8zyJusOm3oHKT4oOjwMhRuHv24L/smuMSzHX7wgUzs9ohEahaeglxoOrIjz9+n3GGTaSQ== Completed in 131ms
npm timing reifyNode:node_modules/needle Completed in 7219ms
npm timing reifyNode:node_modules/sshpk Completed in 7228ms
npm timing reifyNode:node_modules/socks Completed in 7253ms
npm timing reifyNode:node_modules/crc Completed in 7243ms
npm timing reifyNode:node_modules/pngjs Completed in 7255ms
npm timing reifyNode:node_modules/magicli Completed in 7261ms
npm timing reifyNode:node_modules/source-map Completed in 7316ms
npm timing reifyNode:node_modules/sharp Completed in 7328ms
npm timing reifyNode:node_modules/fs-extra Completed in 7345ms
npm timing reifyNode:node_modules/editly/node_modules/fs-extra Completed in 7359ms
npm timing reifyNode:node_modules/@jimp/plugin-blit Completed in 7374ms
npm timing reifyNode:node_modules/parse5 Completed in 7392ms
npm timing reifyNode:node_modules/bmp-js Completed in 7417ms
npm timing reifyNode:node_modules/editly Completed in 7421ms
npm timing reifyNode:node_modules/axios Completed in 7466ms
npm timing reifyNode:node_modules/uri-js Completed in 7485ms
npm timing reifyNode:node_modules/parse5-htmlparser2-tree-adapter/node_modules/parse5 Completed in 7482ms
npm timing reifyNode:node_modules/acorn-globals/node_modules/acorn Completed in 7472ms
npm timing reifyNode:node_modules/cheerio/node_modules/parse5 Completed in 7475ms
npm timing reifyNode:node_modules/pako Completed in 7486ms
npm timing reifyNode:node_modules/nan Completed in 7487ms
npm timing reifyNode:node_modules/pixelmatch Completed in 7491ms
npm timing reifyNode:node_modules/acorn Completed in 7509ms
npm timing reifyNode:node_modules/google-auth-library Completed in 7517ms
npm timing reifyNode:node_modules/googleapis-common/node_modules/uuid Completed in 7520ms
npm timing reifyNode:node_modules/bluebird Completed in 7542ms
npm timing reifyNode:node_modules/canvas Completed in 7544ms
npm timing reifyNode:node_modules/gl-transitions Completed in 7556ms
npm http fetch GET 304 https://registry.npmjs.org/image-data-uri 501ms (from cache)
npm timing metavuln:packument:image-data-uri Completed in 538ms
npm timing metavuln:load:security-advisory:image-data-uri:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 0ms      
npm timing metavuln:calculate:security-advisory:image-data-uri:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 540ms
npm http fetch GET 304 https://registry.npmjs.org/inspect-function 542ms (from cache)
npm timing metavuln:packument:inspect-function Completed in 543ms
npm timing metavuln:load:security-advisory:inspect-function:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 0ms    
npm timing metavuln:calculate:security-advisory:inspect-function:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 544ms
npm timing reifyNode:node_modules/@jimp/core Completed in 7625ms
npm timing reifyNode:node_modules/@jimp/tiff Completed in 7632ms
npm timing metavuln:cache:get:security-advisory:inspect-property:OwJWNngcXMbZb616fMwa2IuRVQmiWhvW+F55agdSwnPzy9vIz9gX4snICkqkuvmXrlpx/sRktRjBvhjTWXTKyQ== Completed in 42ms
npm timing reifyNode:node_modules/cssstyle Completed in 7708ms
npm timing reifyNode:node_modules/when Completed in 7792ms
npm timing reifyNode:node_modules/node-addon-api Completed in 7827ms
npm http fetch GET 304 https://registry.npmjs.org/inspect-property 241ms (from cache)
npm timing metavuln:packument:inspect-property Completed in 267ms
npm timing metavuln:load:security-advisory:inspect-property:XNYYGr89Mll/p3J9L5OnWedVyHxclCQ9oYoqOdSK4cjaRg85H3ATSVBBxWX5QCPoORmOOiR6gU0iKPTK2jF3xg== Completed in 0ms    
npm timing metavuln:calculate:security-advisory:inspect-property:XNYYGr89Mll/p3J9L5OnWedVyHxclCQ9oYoqOdSK4cjaRg85H3ATSVBBxWX5QCPoORmOOiR6gU0iKPTK2jF3xg== Completed in 268ms
npm timing auditReport:init Completed in 5148ms
npm timing reify:audit Completed in 7917ms
npm timing reifyNode:node_modules/archiver/node_modules/async Completed in 7900ms
npm timing reifyNode:node_modules/@babel/runtime Completed in 7938ms
npm timing reifyNode:node_modules/ajv Completed in 7942ms
npm timing reifyNode:node_modules/async Completed in 7960ms
npm timing reifyNode:node_modules/node-forge Completed in 7988ms
npm timing reifyNode:node_modules/@jimp/plugin-print Completed in 8027ms
npm timing reifyNode:node_modules/resolve Completed in 8262ms
npm timing reifyNode:node_modules/fabric Completed in 8295ms
npm timing reifyNode:node_modules/node-gyp Completed in 8314ms
npm timing reifyNode:node_modules/jimp Completed in 8313ms
npm timing reifyNode:node_modules/gifwrap Completed in 8437ms
npm timing reifyNode:node_modules/es-abstract Completed in 8558ms
npm timing reifyNode:node_modules/jsdom Completed in 8675ms
npm timing reifyNode:node_modules/lodash Completed in 8773ms
npm timing reifyNode:node_modules/image-q Completed in 8875ms
npm timing reifyNode:node_modules/gl Completed in 9341ms
npm timing reifyNode:node_modules/googleapis Completed in 10214ms
npm timing reify:unpack Completed in 10227ms
npm timing reify:unretire Completed in 1ms
npm timing build:queue Completed in 12ms
npm timing build:link:node_modules/acorn Completed in 38ms
npm timing build:link:node_modules/fs-extra/node_modules/rimraf Completed in 38ms
npm timing build:link:node_modules/@jimp/core/node_modules/mkdirp Completed in 40ms
npm timing build:link:node_modules/inspect-property/node_modules/inspect-function Completed in 39ms
npm timing build:link:node_modules/googleapis-common/node_modules/uuid Completed in 39ms
npm timing build:link:node_modules/node-gyp/node_modules/semver Completed in 40ms
npm timing build:link:node_modules/editly/node_modules/semver Completed in 40ms
npm timing build:link:node_modules/node-tesseract/node_modules/node-uuid Completed in 40ms
npm timing build:link:node_modules/load-bmfont/node_modules/mime Completed in 41ms
npm timing build:link:node_modules/node-telegram-bot-api/node_modules/mime Completed in 41ms
npm timing build:link:node_modules/editly Completed in 65ms
npm timing build:link:node_modules/detect-libc Completed in 66ms
npm timing build:link:node_modules/object-to-arguments/node_modules/inspect-parameters-declaration Completed in 63ms
npm timing build:link:node_modules/acorn-globals/node_modules/acorn Completed in 66ms
npm timing build:link:node_modules/escodegen Completed in 67ms
npm timing build:link:node_modules/sharp/node_modules/prebuild-install Completed in 64ms
npm timing build:link:node_modules/image-data-uri Completed in 67ms
npm timing build:link:node_modules/esprima Completed in 68ms
npm timing build:link:node_modules/google-p12-pem Completed in 68ms
npm timing build:link:node_modules/canvas/node_modules/mkdirp Completed in 66ms
npm timing build:link:node_modules/mkdirp Completed in 69ms
npm timing build:link:node_modules/json2csv Completed in 69ms
npm timing build:link:node_modules/mime Completed in 70ms
npm timing build:link:node_modules/inspect-parameters-declaration Completed in 70ms
npm timing build:link:node_modules/json5 Completed in 70ms
npm timing build:link:node_modules/nanoid Completed in 70ms
npm timing build:link:node_modules/object-to-arguments Completed in 70ms
npm timing build:link:node_modules/node-gyp Completed in 70ms
npm timing build:link:node_modules/needle Completed in 70ms
npm timing build:link:node_modules/rc Completed in 71ms
npm timing build:link:node_modules/nopt Completed in 71ms
npm timing build:link:node_modules/pixelmatch Completed in 71ms
npm timing build:link:node_modules/prebuild-install Completed in 72ms
npm timing build:link:node_modules/semver Completed in 72ms
npm timing build:link:node_modules/rimraf Completed in 72ms
npm timing build:link:node_modules/tlds Completed in 72ms
npm timing build:link:node_modules/stringify-parameters Completed in 73ms
npm timing build:link:node_modules/tiktok-scraper Completed in 73ms
npm timing build:link:node_modules/text2png Completed in 73ms
npm timing build:link:node_modules/uuid Completed in 73ms
npm timing build:link:node_modules/canvas/node_modules/nopt Completed in 73ms
npm timing build:link:node_modules/canvas/node_modules/node-pre-gyp Completed in 73ms
npm timing build:link:node_modules/canvas/node_modules/rimraf Completed in 73ms
npm timing build:link:node_modules/editly/node_modules/which Completed in 74ms
npm timing build:link:node_modules/node-gyp/node_modules/which Completed in 74ms
npm timing build:link:node_modules/inspect-property/node_modules/inspect-parameters-declaration Completed in 74ms
npm timing build:link:node_modules/sharp/node_modules/semver Completed in 95ms
npm timing build:link Completed in 99ms
npm info run canvas@2.6.1 install node_modules/canvas node-gyp rebuild
npm info run gl@4.9.0 install node_modules/gl node-gyp rebuild
npm info run sharp@0.27.0 install node_modules/sharp node-gyp rebuild
npm info run sharp@0.27.0 install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 0ms
npm timing reify:rollback:retireShallow Completed in 1ms
npm timing command:install Completed in 15637ms
npm verb stack Error: command failed
npm verb stack     at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\@npmcli\promise-spawn\index.js:64:27)
npm verb stack     at ChildProcess.emit (node:events:379:20)
npm verb stack     at maybeClose (node:internal/child_process:1065:16)
npm verb stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:296:5)
npm verb pkgid sharp@0.27.0
npm verb cwd C:\Users\user\Documents\dev\javascript\xxxxxxxxxx
npm verb Windows_NT 10.0.19042
npm verb argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "install" "--verbose" "sharp"
npm verb node v15.6.0
npm verb npm  v7.4.0
npm ERR! code 1
npm ERR! path C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node-gyp rebuild
npm ERR! Building the projects in this solution one at a time. To enable parallel build, please add the "-m" switch.
npm ERR! Build started 2021-01-24 15:24:41.
npm ERR! Project "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\binding.sln" on node 1 (default targets).
npm ERR! ValidateSolutionConfiguration:
npm ERR!   Building solution configuration "Release|x64".
npm ERR! Project "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\binding.sln" (1) is building "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\node-addon-api\nothing.vcxproj" (2) on node 1 (default targets).
npm ERR! PrepareForBuild:
npm ERR!   Creating directory "Release\obj\nothing\".
npm ERR!   Creating directory "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\Release\".
npm ERR!   Creating directory "Release\obj\nothing\nothing.tlog\".
npm ERR! InitializeBuildStatus:
npm ERR!   Creating "Release\obj\nothing\nothing.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
npm ERR! MakeDirsForCl:
npm ERR!   Creating directory "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\node-addon-api\Release\obj\nothing\node-addon-api".
npm ERR! ClCompile:
npm ERR!   C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\include\node" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\src" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\openssl\config" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\openssl\openssl\include" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\uv\include" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\zlib" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\v8\include" /Z7 /nologo /W3 /WX- /diagnostics:column /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=nothing /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D V8_DEPRECATION_WARNINGS /D V8_IMMINENT_DEPRECATION_WARNINGS /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D OPENSSL_NO_PINSHARED /D OPENSSL_THREADS /D "HOST_BINARY=\"node.exe\"" /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\nothing\\node-addon-api\nothing.obj" /Fd"Release\obj\nothing\nothing.pdb" /Gd 
/TC /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue "..\..\node-addon-api\nothing.c"
npm ERR!   nothing.c
npm ERR!   C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\include\node" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\src" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\openssl\config" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\openssl\openssl\include" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\uv\include" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\zlib" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\v8\include" /Z7 /nologo /W3 /WX- /diagnostics:column /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D NODE_GYP_MODULE_NAME=nothing /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D V8_DEPRECATION_WARNINGS /D V8_IMMINENT_DEPRECATION_WARNINGS /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D OPENSSL_NO_PINSHARED /D OPENSSL_THREADS /D "HOST_BINARY=\"node.exe\"" /GF /Gm- /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\nothing\\" /Fd"Release\obj\nothing\nothing.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\node-gyp\src\win_delay_load_hook.cc"
npm ERR!   win_delay_load_hook.cc
npm ERR! Lib:
npm ERR!   C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\Lib.exe /OUT:"C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\Release\nothing.lib" /NOLOGO /MACHINE:X64 /LTCG:INCREMENTAL Release\obj\nothing\win_delay_load_hook.obj
npm ERR!   "Release\obj\nothing\\node-addon-api\nothing.obj"
npm ERR!   nothing.vcxproj -> C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\Release\\nothing.lib
npm ERR! FinalizeBuildStatus:
npm ERR!   Deleting file "Release\obj\nothing\nothing.tlog\unsuccessfulbuild".
npm ERR!   Touching "Release\obj\nothing\nothing.tlog\nothing.lastbuildstate".
npm ERR! Done Building Project "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\node-addon-api\nothing.vcxproj" (default targets).
npm ERR! Project "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\binding.sln" (1) is building "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\libvips-cpp.vcxproj" (3) on node 1 (default targets).
npm ERR! PrepareForBuild:
npm ERR!   Creating directory "Release\obj\libvips-cpp\".
npm ERR!   Creating directory "Release\obj\libvips-cpp\libvips-cpp.tlog\".
npm ERR! InitializeBuildStatus:
npm ERR!   Creating "Release\obj\libvips-cpp\libvips-cpp.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
npm ERR! MakeDirsForCl:
npm ERR!   Creating directory "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\Release\obj\libvips-cpp\src\libvips\cplusplus".
npm ERR! ClCompile:
npm ERR!   C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX64\x64\CL.exe /c /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\include\node" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\src" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\openssl\config" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\openssl\openssl\include" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\uv\include" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\zlib" /I"C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0\deps\v8\include" /IC:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\vendor\8.10.5\include /I"C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\vendor\8.10.5\include\glib-2.0" /I"C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\vendor\8.10.5\lib\glib-2.0\include" /Z7 /nologo /W3 /WX- /diagnostics:column /MP /Ox /Ob2 /Oi /Ot /Oy /GL /D "NODE_GYP_MODULE_NAME=libvips-cpp" /D USING_UV_SHARED=1 /D USING_V8_SHARED=1 /D V8_DEPRECATION_WARNINGS=1 /D V8_DEPRECATION_WARNINGS /D V8_IMMINENT_DEPRECATION_WARNINGS /D WIN32 /D _CRT_SECURE_NO_DEPRECATE /D _CRT_NONSTDC_NO_DEPRECATE /D _HAS_EXCEPTIONS=0 /D OPENSSL_NO_PINSHARED /D OPENSSL_THREADS /D VIPS_CPLUSPLUS_EXPORTS /D _ALLOW_KEYWORD_MACROS /D "HOST_BINARY=\"node.exe\"" /D _WINDLL /GF /Gm- /EHsc /MT /GS /Gy /fp:precise /Zc:wchar_t /Zc:forScope /Zc:inline /GR- /Fo"Release\obj\libvips-cpp\\src\libvips\cplusplus\VError.obj" /Fd"Release\obj\libvips-cpp\vc142.pdb" /Gd /TP /wd4351 /wd4355 /wd4800 /wd4251 /wd4275 /wd4244 /wd4267 /FC /errorReport:queue ..\src\libvips\cplusplus\VError.cpp
npm ERR!   VError.cpp
npm ERR! C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\src\libvips\cplusplus\VError.cpp(33,10): fatal error C1083: Cannot open include file: 'vips/intl.h': No such file or directory [C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\libvips-cpp.vcxproj]
npm ERR! Done Building Project "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\libvips-cpp.vcxproj" (default targets) -- FAILED.
npm ERR! Done Building Project "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\binding.sln" (default targets) -- FAILED.
npm ERR!
npm ERR! Build FAILED.
npm ERR!
npm ERR! "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\binding.sln" (default target) (1) ->
npm ERR! "C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\libvips-cpp.vcxproj" (default target) (3) ->
npm ERR! (ClCompile target) ->
npm ERR!   C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\src\libvips\cplusplus\VError.cpp(33,10): fatal error C1083: Cannot open include file: 
'vips/intl.h': No such file or directory [C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\libvips-cpp.vcxproj]
npm ERR!
npm ERR!     0 Warning(s)
npm ERR!     1 Error(s)
npm ERR!
npm ERR! Time Elapsed 00:00:01.54
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp verb cli [
npm ERR! gyp verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm ERR! gyp verb cli   'C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\node-gyp\\bin\\node-gyp.js',
npm ERR! gyp verb cli   'rebuild'
npm ERR! gyp verb cli ]
npm ERR! gyp info using node-gyp@7.1.2
npm ERR! gyp info using node@15.6.0 | win32 | x64
npm ERR! gyp verb command rebuild []
npm ERR! gyp verb command clean []
npm ERR! gyp verb clean removing "build" directory
npm ERR! gyp verb command configure []
npm ERR! gyp verb find Python checking Python explicitly set from command line or npm configuration
npm ERR! gyp verb find Python - "--python=" or "npm config get python" is "C:\Users\user\.windows-build-tools\python27\python.exe"
npm ERR! gyp verb find Python - executing "C:\Users\user\.windows-build-tools\python27\python.exe" to get executable path
npm ERR! gyp verb find Python - "C:\Users\user\.windows-build-tools\python27\python.exe" is not in PATH or produced an error
npm ERR! gyp verb find Python Python is not set from environment variable PYTHON
npm ERR! gyp verb find Python checking if "python3" can be used
npm ERR! gyp verb find Python - executing "python3" to get executable path
npm ERR! gyp verb find Python - executable path is "C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe"     
npm ERR! gyp verb find Python - executing "C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe" to get version
npm ERR! gyp verb find Python - version is "3.9.1"
npm ERR! gyp info find Python using Python version 3.9.1 found at "C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe"
npm ERR! gyp verb get node dir no --target version specified, falling back to host node version: 15.6.0
npm ERR! gyp verb command install [ '15.6.0' ]
npm ERR! gyp verb install input version string "15.6.0"
npm ERR! gyp verb install installing version: 15.6.0
npm ERR! gyp verb install --ensure was passed, so won't reinstall if already installed
npm ERR! gyp verb got "installVersion" 9
npm ERR! gyp verb needs "installVersion" 9
npm ERR! gyp verb install version is good
npm ERR! gyp verb get node dir target node version installed: 15.6.0
npm ERR! gyp verb build dir attempting to create "build" dir: C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build
npm ERR! gyp verb build dir "build" dir needed to be created? C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build
npm ERR! gyp verb find VS msvs_version not set from command line or npm config
npm ERR! gyp verb find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp verb find VS checking VS2019 (16.8.30907.101) found at:
npm ERR! gyp verb find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp verb find VS - found "Visual Studio C++ core features"
npm ERR! gyp verb find VS - found VC++ toolset: v142
npm ERR! gyp verb find VS - found Windows SDK: 10.0.18362.0
npm ERR! gyp info find VS using VS2019 (16.8.30907.101) found at:
npm ERR! gyp info find VS "C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools"
npm ERR! gyp info find VS run with --verbose for detailed information
npm ERR! gyp verb build/config.gypi creating config file
npm ERR! gyp verb build/config.gypi writing out config file: C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\build\config.gypi
npm ERR! gyp verb config.gypi checking for gypi file: C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\config.gypi
npm ERR! gyp verb common.gypi checking for gypi file: C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp\common.gypi
npm ERR! gyp verb gyp gyp format was not specified; forcing "msvs"
npm ERR! gyp info spawn C:\Users\user\AppData\Local\Microsoft\WindowsApps\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\python.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\node-gyp\\gyp\\gyp_main.py',
npm ERR! gyp info spawn args   'binding.gyp',
npm ERR! gyp info spawn args   '-f',
npm ERR! gyp info spawn args   'msvs',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\sharp\\build\\config.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\node-gyp\\addon.gypi',
npm ERR! gyp info spawn args   '-I',
npm ERR! gyp info spawn args   'C:\\Users\\user\\AppData\\Local\\node-gyp\\Cache\\15.6.0\\include\\node\\common.gypi',
npm ERR! gyp info spawn args   '-Dlibrary=shared_library',
npm ERR! gyp info spawn args   '-Dvisibility=default',
npm ERR! gyp info spawn args   '-Dnode_root_dir=C:\\Users\\user\\AppData\\Local\\node-gyp\\Cache\\15.6.0',
npm ERR! gyp info spawn args   '-Dnode_gyp_dir=C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\node-gyp',
npm ERR! gyp info spawn args   '-Dnode_lib_file=C:\\\\Users\\\\user\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\15.6.0\\\\<(target_arch)\\\\node.lib',
npm ERR! gyp info spawn args   '-Dmodule_root_dir=C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\sharp',
npm ERR! gyp info spawn args   '-Dnode_engine=v8',
npm ERR! gyp info spawn args   '--depth=.',
npm ERR! gyp info spawn args   '--no-parallel',
npm ERR! gyp info spawn args   '--generator-output',
npm ERR! gyp info spawn args   'C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\sharp\\build',
npm ERR! gyp info spawn args   '-Goutput_dir=.'
npm ERR! gyp info spawn args ]
npm ERR! gyp verb command build []
npm ERR! gyp verb build type Release
npm ERR! gyp verb architecture x64
npm ERR! gyp verb node dev dir C:\Users\user\AppData\Local\node-gyp\Cache\15.6.0
npm ERR! gyp verb found first Solution file build/binding.sln
npm ERR! gyp verb using MSBuild: C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe
npm ERR! gyp info spawn args [
npm ERR! gyp info spawn args   'build/binding.sln',
npm ERR! gyp info spawn args   '/nologo',
npm ERR! gyp info spawn args   '/p:Configuration=Release;Platform=x64'
npm ERR! gyp info spawn args ]
npm ERR! gyp ERR! build error
npm ERR! gyp ERR! stack Error: `C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1
npm ERR! gyp ERR! stack     at ChildProcess.onExit (C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\node-gyp\lib\build.js:194:23)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:379:20)
npm ERR! gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/child_process:285:12)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\Documents\\dev\\javascript\\xxxxxxxxxx\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild"
npm ERR! gyp ERR! cwd C:\Users\user\Documents\dev\javascript\xxxxxxxxxx\node_modules\sharp
npm ERR! gyp ERR! node -v v15.6.0
npm ERR! gyp ERR! node-gyp -v v7.1.2
npm ERR! gyp ERR! not ok
npm verb exit 1
npm info run gl@4.9.0 install { code: 0, signal: null }
npm timing build:run:install:node_modules/gl Completed in 6524ms
npm info run canvas@2.6.1 install { code: 0, signal: null }
npm timing build:run:install:node_modules/canvas Completed in 18059ms
npm timing npm Completed in 30070ms

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\user\AppData\Local\npm-cache\_logs\2021-01-24T14_24_43_045Z-debug.log

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

System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 Intel(R) Core(TM) i5-10400F CPU @ 2.90GHz
    Memory: 7.65 GB / 15.91 GB
  Binaries:
    Node: 15.6.0 - C:\Program Files\nodejs\node.EXE
    npm: 7.4.0 - C:\Program Files\nodejs\npm.CMD
lovell commented 3 years ago

This install log includes dependencies that are unrelated to sharp. Please can you provide the output of running npm install --verbose sharp in an empty directory.

Glutch commented 3 years ago

This install log includes dependencies that are unrelated to sharp. Please can you provide the output of running npm install --verbose sharp in an empty directory.

That worked. Then i removed node_modules from my main project, removed package.json and installed every module manually independantly. No errors.

But when i run the script

Error:
Something went wrong installing the "sharp" module

The specified procedure could not be found.
\\?\C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\build\Release\sharp.node

- Remove the "node_modules/sharp" directory then run
  "npm install --ignore-scripts=false --verbose" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/install
- Search for this error at https://github.com/lovell/sharp/issues

    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\lib\constructor.js:34:9)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\lib\index.js:3:15)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\api\image.js:3:15)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\api\reddit.js:5:31)
Glutch commented 3 years ago

And heres the output of running --ignore-scripts etc as the error suggests

PS C:\Users\user\Documents\dev\javascript\xxxxx> npm install --ignore-scripts=false --verbose
npm verb cli [
npm verb cli   'C:\\Program Files\\nodejs\\node.exe',
npm verb cli   'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
npm verb cli   'install',
npm verb cli   '--ignore-scripts=false',
npm verb cli   '--verbose'
npm verb cli ]
npm info using npm@7.4.0
npm info using node@v15.6.0
npm timing config:load:defaults Completed in 1ms
npm timing config:load:file:C:\Program Files\nodejs\node_modules\npm\npmrc Completed in 1ms
npm timing config:load:builtin Completed in 2ms
npm timing config:load:cli Completed in 2ms
npm timing config:load:env Completed in 0ms
npm timing config:load:file:C:\Users\user\Documents\dev\javascript\xxxxx\.npmrc Completed in 0ms
npm timing config:load:project Completed in 2ms
npm timing config:load:file:C:\Users\user\.npmrc Completed in 0ms
npm timing config:load:user Completed in 0ms
npm timing config:load:file:C:\Users\user\AppData\Roaming\npm\etc\npmrc Completed in 1ms
npm timing config:load:global Completed in 1ms
npm timing config:load:cafile Completed in 0ms
npm timing config:load:validate Completed in 0ms
npm timing config:load:setUserAgent Completed in 1ms
npm timing config:load:setEnvs Completed in 0ms
npm timing config:load Completed in 9ms
npm verb npm-session 3335308c607328c9
npm timing npm:load Completed in 45ms
npm timing arborist:ctor Completed in 1ms
npm timing idealTree:init Completed in 208ms
npm timing idealTree:userRequests Completed in 0ms
npm timing idealTree:#root Completed in 0ms
npm timing idealTree:buildDeps Completed in 22ms
npm timing idealTree:fixDepFlags Completed in 0ms
npm timing idealTree Completed in 239ms
npm timing reify:loadTrees Completed in 496ms
npm timing reify:diffTrees Completed in 17ms
npm timing reify:retireShallow Completed in 0ms
npm timing reify:createSparse Completed in 2ms
npm timing reify:loadBundles Completed in 0ms
npm timing reifyNode:node_modules/sharp/node_modules/prebuild-install/node_modules/simple-get Completed in 75ms
npm timing reifyNode:node_modules/sharp/node_modules/simple-get/node_modules/decompress-response Completed in 75ms
npm timing reifyNode:node_modules/sharp/node_modules/simple-get Completed in 76ms
npm timing reifyNode:node_modules/sharp/node_modules/mimic-response Completed in 76ms
npm timing reifyNode:node_modules/sharp/node_modules/prebuild-install Completed in 82ms
npm timing reifyNode:node_modules/sharp/node_modules/semver Completed in 143ms
npm timing reifyNode:node_modules/sharp Completed in 148ms
npm timing reify:unpack Completed in 166ms
npm timing build:queue Completed in 1ms
npm timing build:link:node_modules/sharp/node_modules/prebuild-install Completed in 4ms
npm timing build:link:node_modules/sharp/node_modules/semver Completed in 4ms
npm timing build:link Completed in 4ms
npm info run sharp@0.27.0 install node_modules/sharp (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)  
npm http fetch POST 200 https://registry.npmjs.org/-/npm/v1/security/advisories/bulk 1081ms
npm timing auditReport:getReport Completed in 1084ms
npm timing metavuln:cache:get:security-advisory:yargs-parser:wggLna/MWf0SS4RVuOVF5G/ZiDVijxAaiM9wM/rCy1bMks+TGpf2QGl8AGla/tvYjYRp5H0QrBwyOo1m0VbBKg== Completed in 10ms  
npm timing metavuln:cache:get:security-advisory:url-regex:Bz3I22ZGpMVfaxKbT0guoH+i78yQWFijf4NkPQRblZCzT5myiMnfNtnIKfrMq19IFLiwfx8ykZH5OPZcKrW1mg== Completed in 22ms     
npm http fetch GET 304 https://registry.npmjs.org/yargs-parser 83ms (from cache)
npm timing metavuln:packument:yargs-parser Completed in 87ms
npm timing metavuln:load:security-advisory:yargs-parser:1500 Completed in 1ms
npm timing metavuln:calculate:security-advisory:yargs-parser:1500 Completed in 89ms
npm http fetch GET 304 https://registry.npmjs.org/url-regex 300ms (from cache)
npm timing metavuln:packument:url-regex Completed in 300ms
npm timing metavuln:load:security-advisory:url-regex:1550 Completed in 0ms
npm timing metavuln:calculate:security-advisory:url-regex:1550 Completed in 301ms
npm timing metavuln:cache:get:security-advisory:cliss:VbDNVJ2/26dAESAMCab0yi8zK7SZEIQ9OgzZFM2M6ULBqdDf4mVfufYa/qY/zeIUUW924F2Avkw4OdWx7Lim1Q== Completed in 2ms
npm http fetch GET 200 https://registry.npmjs.org/cliss 25ms (from cache)
npm timing metavuln:packument:cliss Completed in 26ms
npm timing metavuln:load:security-advisory:cliss:wggLna/MWf0SS4RVuOVF5G/ZiDVijxAaiM9wM/rCy1bMks+TGpf2QGl8AGla/tvYjYRp5H0QrBwyOo1m0VbBKg== Completed in 0ms
npm timing metavuln:calculate:security-advisory:cliss:wggLna/MWf0SS4RVuOVF5G/ZiDVijxAaiM9wM/rCy1bMks+TGpf2QGl8AGla/tvYjYRp5H0QrBwyOo1m0VbBKg== Completed in 27ms
npm info run sharp@0.27.0 install { code: 0, signal: null }
npm timing build:run:install:node_modules/sharp Completed in 1257ms
npm timing build:run:install Completed in 1258ms
npm timing build:deps Completed in 1265ms
npm timing build Completed in 1266ms
npm timing reify:build Completed in 1266ms
npm timing reify:trash Completed in 0ms
npm http fetch GET 200 https://registry.npmjs.org/magicli 90ms (from cache)
npm timing metavuln:packument:magicli Completed in 90ms
npm timing metavuln:cache:get:security-advisory:magicli:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 90ms       
npm timing metavuln:load:security-advisory:magicli:VbDNVJ2/26dAESAMCab0yi8zK7SZEIQ9OgzZFM2M6ULBqdDf4mVfufYa/qY/zeIUUW924F2Avkw4OdWx7Lim1Q== Completed in 0ms
npm timing metavuln:calculate:security-advisory:magicli:VbDNVJ2/26dAESAMCab0yi8zK7SZEIQ9OgzZFM2M6ULBqdDf4mVfufYa/qY/zeIUUW924F2Avkw4OdWx7Lim1Q== Completed in 92ms       
npm timing reify:save Completed in 71ms
npm timing metavuln:cache:get:security-advisory:inspect-function:XNYYGr89Mll/p3J9L5OnWedVyHxclCQ9oYoqOdSK4cjaRg85H3ATSVBBxWX5QCPoORmOOiR6gU0iKPTK2jF3xg== Completed in 17ms
npm http fetch GET 200 https://registry.npmjs.org/image-data-uri 29ms (from cache)
npm timing metavuln:packument:image-data-uri Completed in 29ms
npm timing metavuln:cache:get:security-advisory:image-data-uri:a1V7V/CvlmS3xof1r8zyJusOm3oHKT4oOjwMhRuHv24L/smuMSzHX7wgUzs9ohEahaeglxoOrIjz9+n3GGTaSQ== Completed in 30msnpm timing metavuln:load:security-advisory:image-data-uri:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 0ms      
npm timing metavuln:calculate:security-advisory:image-data-uri:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 31msnpm http fetch GET 304 https://registry.npmjs.org/inspect-function 90ms (from cache)
npm timing metavuln:packument:inspect-function Completed in 93ms
npm timing metavuln:load:security-advisory:inspect-function:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 0ms    
npm timing metavuln:calculate:security-advisory:inspect-function:KU5p3+1GRXK+UCgcqWuomIcftXFQ3ApiukXCmR1qOGRNf8kzta0lNGGBWDcOtWlcQQ64rrEjz9RiwQMRqVO0wg== Completed in 94ms
npm http fetch GET 200 https://registry.npmjs.org/inspect-property 3ms (from cache)
npm timing metavuln:packument:inspect-property Completed in 3ms
npm timing metavuln:cache:get:security-advisory:inspect-property:OwJWNngcXMbZb616fMwa2IuRVQmiWhvW+F55agdSwnPzy9vIz9gX4snICkqkuvmXrlpx/sRktRjBvhjTWXTKyQ== Completed in 4ms
npm timing metavuln:load:security-advisory:inspect-property:XNYYGr89Mll/p3J9L5OnWedVyHxclCQ9oYoqOdSK4cjaRg85H3ATSVBBxWX5QCPoORmOOiR6gU0iKPTK2jF3xg== Completed in 0ms    
npm timing metavuln:calculate:security-advisory:inspect-property:XNYYGr89Mll/p3J9L5OnWedVyHxclCQ9oYoqOdSK4cjaRg85H3ATSVBBxWX5QCPoORmOOiR6gU0iKPTK2jF3xg== Completed in 5ms
npm timing auditReport:init Completed in 528ms
npm timing reify:audit Completed in 1613ms
npm timing reify Completed in 2154ms

added 7 packages, and audited 644 packages in 2s

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

6 vulnerabilities (5 low, 1 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 2217ms
npm verb exit 0
npm timing npm Completed in 2491ms
npm info ok
PS C:\Users\user\Documents\dev\javascript\xxxxx> node app
node-telegram-bot-api deprecated Automatic enabling of cancellation of promises is deprecated.
In the future, you will have to enable it yourself.
See https://github.com/yagop/node-telegram-bot-api/issues/319. node:internal\modules\cjs\loader:1108:14
C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\lib\constructor.js:34
  throw new Error(error);
  ^

Error:
Something went wrong installing the "sharp" module

The specified procedure could not be found.
\\?\C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\build\Release\sharp.node

- Remove the "node_modules/sharp" directory then run
  "npm install --ignore-scripts=false --verbose" and look for errors
- Consult the installation documentation at https://sharp.pixelplumbing.com/install
- Search for this error at https://github.com/lovell/sharp/issues

    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\lib\constructor.js:34:9)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\node_modules\sharp\lib\index.js:3:15)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\api\image.js:3:15)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (C:\Users\user\Documents\dev\javascript\xxxxx\api\reddit.js:5:31)
lovell commented 3 years ago

I notice canvas in the original list of dependencies. Windows+canvas+sharp is a combo that won't work.

https://github.com/lovell/sharp/search?q=windows+%22The+specified+procedure+could+not+be+found.%22+canvas&type=issues

Glutch commented 3 years ago

I notice canvas in the original list of dependencies. Windows+canvas+sharp is a combo that won't work.

https://github.com/lovell/sharp/search?q=windows+%22The+specified+procedure+could+not+be+found.%22+canvas&type=issues

removing canvas worked! (i just changed from one windows computer to a brand new one, strange that the code worked on my old pc!)

thanks :)

lovell commented 3 years ago

Using canvas on Windows requires GTK 2, which has been unmaintained for almost 10 years (and is therefore worth verifying for security vulnerabilities if it is to be used with untrusted input).

I added a section to the docs about this conflict via commit 98349bd. There's no workaround other than not using canvas.

nordskill commented 2 years ago

Does anybody know whether there is an alternative to node-canvas? I don't understand what's the point in building module on top of the ancient unmaintained software...

kayahr commented 2 years ago

@lovell I don't think it is fair to blame node-canvas here. The information that node-canvas requires a 10 year old GTK 2 is simply wrong or not valid anymore. The prebuilt binary of node-canvas uses DLLs (like libpng, libjpeg and more) from a standard MSYS2 Mingw64 installation. I know node-canvas still tries to compile against libraries in a c:/gtk2 folder when no pre-built binary is found but this is not the way node-canvas works today and has nothing to do with this problem. I even compiled my own node-canvas against the latest dependency versions in MSYS2 MingW64 and run into the same problem.

One of the dependencies is libglib-2.0-0.dll. Sharp itself also contains this DLL file. Not sure with which environment Sharp is compiled on Windows but it looks like these two DLLs are simply not compatible even when they have the same version. When I load node-canvas before I load sharp then node-canvas works fine but sharp doesn't work anymore. When I load sharp first then node-canvas doesn't work. On Linux this isn't a problem because on Linux Sharp doesn't have a dependency on glib (I guess it is statically compiled into libvips). And maybe even if there were a shared glib in Sharp I guess Linux would be able to do the right thing.

I wonder why glib is not statically compiled into libvips on Windows. The libvips binary is huge so I guess it already contains a bunch of other statically linked libraries (like libjpeg for example). So why is glib a separate DLL?

Or can you give some insights how libvips and sharp are compiled on Windows? Visual Studio? Cygwin? MSYS2? And against which C runtime? msvcrt? ucrt? Maybe it helps compiling node-canvas dependencies in the same environment so the DLLs are compatible.

kleisauke commented 2 years ago

I wonder why glib is not statically compiled into libvips on Windows. The libvips binary is huge so I guess it already contains a bunch of other statically linked libraries (like libjpeg for example). So why is glib a separate DLL?

GLib isn't build statically on Windows to ensure compatibility with libvips' FFI bindings - see for example: https://github.com/kleisauke/net-vips/blob/master/src/NetVips/Interop/Libraries.Windows.cs

Or can you give some insights how libvips and sharp are compiled on Windows?

sharp uses the https://github.com/libvips/build-win64-mxe repository for this - see: https://github.com/lovell/sharp-libvips#windows

Visual Studio? Cygwin? MSYS2? And against which C runtime? msvcrt? ucrt? Maybe it helps compiling node-canvas dependencies in the same environment so the DLLs are compatible.

llvm-mingw and UCRT, which should match the CLANG64 environment in MSYS2.

You're free to compile from commit https://github.com/libvips/build-win64-mxe/commit/208bd40f10f004954e2fad7f152de2044c5ace10. Another option, of course, is that node-canvas' pre-built binaries switch to static linking.

kleisauke commented 2 years ago

The information that node-canvas requires a 10 year old GTK 2 is simply wrong or not valid anymore.

IIUC, commit https://github.com/lovell/sharp/commit/98349bde28dfc54ff304a2b47afce35488247637 was pushed on 24 Jan 2021 and was based on the https://github.com/node-gfx/node-canvas-prebuilt repository. It seems that it is indeed no longer relevant with v2.7.0, which was released a month later, and bundles the binaries produced by the MINGW64 environment in MSYS2 - see: https://github.com/Automattic/node-canvas/blob/master/prebuild/Windows/preinstall.sh

It's most likely a MSVCRT / UCRT compatibility issue now. https://www.msys2.org/docs/environments/#msvcrt-vs-ucrt

lovell commented 2 years ago

@kayahr Thanks for the update, great to hear that canvas is now providing up-to-date binaries for Windows.

I agree this looks like a MSVCRT vs universal runtime conflict so it's definitely worth experimenting with both packages using the modern universal runtime, which might then allow canvas to do things like support ARM64 on Windows.

kayahr commented 2 years ago

I can confirm that it works when using the DLLs from MSYS2 UCRT64 Environment in node-canvas. Windows still has a problem with the duplicate DLL files so the sharp binary folder and the node-canvas binary folder must be consolidated (which happens anyway when bundling the application with esbuild for example). But after doing this node-canvas and sharp work together without problems.

I created a new issue for node-canvas so hopefully the author will switch to the universal runtime in the future: https://github.com/Automattic/node-canvas/issues/2155

lovell commented 2 years ago

@kayahr Thanks, the sharp docs will be updated to reference this - see commit https://github.com/lovell/sharp/commit/ca22af203f77dc484d57e934e3a2c5b057e095f6