Skip to content

Commit 33767bd

Browse files
committed
fix: Switch to the npm snap to get npm 22
1 parent 9ce3e3d commit 33767bd

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

snap/snapcraft.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,6 +149,8 @@ parts:
149149
- -DCMAKE_PREFIX_PATH=/usr
150150
- -DCMAKE_INSTALL_PREFIX=/usr
151151
- -DBUILD_WEB_APP=ON
152+
build-snaps:
153+
- node/22/stable
152154
build-packages:
153155
- build-essential
154156
- g++
@@ -160,7 +162,6 @@ parts:
160162
- zlib1g-dev
161163
- pkg-config
162164
- ninja-build
163-
- npm
164165
override-pull: |
165166
craftctl default
166167
VERSION=$(craftctl get version)

0 commit comments

Comments
 (0)