You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/ci-cd.yml
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -27,6 +27,28 @@ jobs:
27
27
with:
28
28
node-version: 'lts/*'
29
29
cache: 'pnpm'
30
+
# Install dependencies for node-canvas to avoid errors like this
31
+
# while building from source:
32
+
#
33
+
# ```
34
+
# .../canvas@3.1.0/node_modules/canvas install: Package pixman-1 was not found in the pkg-config search path.
35
+
# .../canvas@3.1.0/node_modules/canvas install: Perhaps you should add the directory containing `pixman-1.pc'
36
+
# .../canvas@3.1.0/node_modules/canvas install: to the PKG_CONFIG_PATH environment variable
37
+
# .../canvas@3.1.0/node_modules/canvas install: Package 'pixman-1', required by 'virtual:world', not found
38
+
# .../canvas@3.1.0/node_modules/canvas install: gyp: Call to 'pkg-config pixman-1 --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
0 commit comments