-
Notifications
You must be signed in to change notification settings - Fork 1.2k
node-gyp failed to rebuild #2267
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm seeing the same issue attempting to update packages on a React app I'm working on. Log followings: Edit: If I remove the canvas package, everything updates fine.
|
You should be fine if you install the packages |
#1662 (comment) |
How did you ultimately solve this problem,brother. |
I didn't solve the issue. It only works on a M1 macbook. On a I7 one, it keeps crashing. |
If you're also having troubles with the "Package pangocairo was not found in the pkg-config search path" error message (eg. while trying to build |
Issue or Feature
I can't build an Electron app as soon as I install
pdfjs-dist
(and by extensioncanvas
). I'm not even importing nor usingpdfjs-dist
. The app can't compile and crashes immediately.I have installed all the necessary packages with
brew
:pkg-config
,cairo
,pango
,libpng
,jpeg
,giflib
,librsvg
,libffi
.The error is:
Environment
npm list canvas
):└── [email protected]
I have opened an issue on pdfjs's repository.
The text was updated successfully, but these errors were encountered: