@RogueQ

Не устанавливается npm install canvas, что делать?

npm i canvas - не выполняется и выдает ошибку. Помогите исправить, библиотеку и Chocolatey скачивал.
$ npm i canvas

> canvas@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 discord.js-commando@0.11.0-dev requires a peer of @types/better-sqlite3@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js-commando@0.11.0-dev requires a peer of better-sqlite3@^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN discord.js-commando@0.11.0-dev requires a peer of sqlite@^3.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN eslint-config-amber@2.0.3 requires a peer of eslint@^6.8.0 but none is installed. You must install peer dependencies yourself.

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the canvas@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

User@WIN-PKK5VIH2RPR MINGW64 ~/Desktop/xiao-master
  • Вопрос задан
  • 1197 просмотров
Пригласить эксперта
Ответы на вопрос 1
Alexandre888
@Alexandre888 Куратор тега Discord
Javascript-разработчик
Ваш ответ на вопрос

Войдите, чтобы написать ответ

Войти через центр авторизации
Похожие вопросы