Skip to content

Commit b6418ef

Browse files
try alternative way of installing node
1 parent c541632 commit b6418ef

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

Cross.toml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
pre-build = [
33
# install nodejs and npm to compile static web resources
44
# note that architecture could be the same as the container, not $CROSS_DEB_ARCH
5-
"apt install -qq -y --no-install-recommends unzip",
6-
"curl https://fnm.vercel.app/install -o install.sh",
7-
"bash install.sh",
8-
# Download and install Node.js:
9-
"/root/.local/share/fnm/fnm install 22",
5+
"apt install -y nodejs",
106
"node -v",
117
]

0 commit comments

Comments
 (0)