Switch from pnpm to npm

This commit is contained in:
tteckster 2022-09-16 14:40:15 -04:00 committed by GitHub
parent e75acf208c
commit 46f0337d06
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,15 +79,15 @@ msg_ok "Set up Node.js Repository"
msg_info "Installing Node.js"
apt-get install -y nodejs &>/dev/null
npm install -g pnpm &>/dev/null
# npm install -g pnpm &>/dev/null
msg_ok "Installed Node.js"
msg_info "Installing Homepage"
git clone https://github.com/benphelps/homepage.git /opt/homepage &>/dev/null
cd /opt/homepage
mkdir -p config
pnpm install &>/dev/null
pnpm build &>/dev/null
npm install &>/dev/null
npm run build &>/dev/null
msg_ok "Installed Homepage"
msg_info "Creating Service"