Skip to content

Commit

Permalink
Update install to match the 1.42.0 steps
Browse files Browse the repository at this point in the history
  • Loading branch information
romanlum committed Dec 16, 2024
1 parent 1ca552e commit 04fa78c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion postroot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,13 @@ if [ "$PIVERS" = 'type_0' ] || [ "$PIVERS" = 'type_1' ]; then
export PATH=/opt/zigbee2mqtt/node/bin:$PATH
fi

npm ci --unsafe-perm
npm install -g pnpm
node --version # Should output V18.x, V20.x, V22.X
pnpm --version # Should output 9.X
pnpm i --frozen-lockfile

# Build Zigbee2MQTT
pnpm run build
retval="$?"
if [ $retval -ne 0 ]; then
echo "npm install failed"
Expand Down

0 comments on commit 04fa78c

Please sign in to comment.