Answer the question
In order to leave comments, you need to log in
npm install canvas won't install, what should I do?
npm i canvas - fails and throws an error. Help me fix it, I downloaded the library and Chocolatey.
$ npm i canvas
> [email protected]2.6.1 install C:\Users\User\Desktop\xiao-master\node_modules\canvas
> node-pre-gyp install --fallback-to-build
"node-pre-gyp" не является внутренней или внешней
командой, исполняемой программой или пакетным файлом.
npm WARN [email protected]0.11.0-dev requires a peer of @types/[email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected]0.11.0-dev requires a peer of [email protected]^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected]0.11.0-dev requires a peer of [email protected]^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected]2.0.3 requires a peer of [email protected]^6.8.0 but none is installed. You must install peer dependencies yourself.
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected]2.6.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected]2.6.1 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\User\AppData\Roaming\npm-cache\_logs\2020-11-18T09_10_59_455Z-debug.log
[email protected] MINGW64 ~/Desktop/xiao-master
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question