Automattic / Automattic/node-canvas

Instalation fails "Specified path not found"

Open
#1,894 0 comments 0 reactions 0 assignees View on GitHub
Installation help
Dominant language
JavaScript
Stars
10.7k
Forks
1.2k
Avg merge
4d 8h
Merged PRs (30d)
1

Description

## Issue or Feature
-This is most likely a bug in the installation process occuring in the lastest version of node, i followed the troubleshooting guide to try to solve this and it didn't work, my issue is not even described in it.

from the installation log:
```log
error code 1
error path C:\Users\user\Desktop\code\javascript\peaches\node_modules\node-canvas
error command failed
error command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
error Specified path not found. <-- Translated because my system language is not english
verbose exit 1
```

## Steps to Reproduce
Modules:
blns 2.0.4
body-parser 1.19.0
compression 1.7.4
discord.js 13.1.0
express 4.17.1
request 2.88.2
request-promise 4.2.6
string-similarity 4.0.4

Try to install canvas:
```
npm install canvas@2.7.0
```

## Your Environment
Windows_NT 10.0.19041
node v16.9.0
npm v7.22.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.