-
Notifications
You must be signed in to change notification settings - Fork 77
Open
Description
Describe the bug
Trying to install via curl command curl -fsSL https://vite.plus | bash --verbose , the install fails with no cause . The exec stops silently after printing Setting up VITE+...
#!/bin/bash
Vite+ CLI Installer
https://vite.plus
Usage:
curl -fsSL https://vite.plus | bash
Environment variables:
VITE_PLUS_VERSION - Version to install (default: latest)
VITE_PLUS_HOME - Installation directory (default: ~/.vite-plus)
NPM_CONFIG_REGISTRY - Custom npm registry URL (default: https://registry.npmjs.org)
VITE_PLUS_LOCAL_TGZ - Path to local vite-plus.tgz (for development/testing)
set -e
VITE_PLUS_VERSION="${VITE_PLUS_VERSION:-latest}"
INSTALL_DIR="${VITE_PLUS_HOME:-$HOME/.vite-plus}"
Use $HOME-relative path for shell config references (portable across sessions)
if case "$INSTALL_DIR" in "$HOME"/*) true;; *) false;; esac; then
INSTALL_DIR_REF="$HOME${INSTALL_DIR#"$HOME"}"
else
INSTALL_DIR_REF="$INSTALL_DIR"
fi
npm registry URL (strip trailing slash if present)
NPM_REGISTRY="${NPM_CONFIG_REGISTRY:-https://registry.npmjs.org}"
NPM_REGISTRY="${NPM_REGISTRY%/}"
Local tarball for development/testing
LOCAL_TGZ="${VITE_PLUS_LOCAL_TGZ:-}"
Local binary path (set by install-global-cli.ts for local dev)
LOCAL_BINARY="${VITE_PLUS_LOCAL_BINARY:-}"
Setting up VITE+...
detect_platform
uname -s
uname -m
curl_with_error_handling -s "$metadata_url"
curl "${args[@]}" 2>&1
Reproduction
NA
Steps to reproduce
As above
System Info
MAC OS behind corporate proxyUsed Package Manager
npm
Logs
Validations
- Read the Contributing Guidelines.
- Check that there isn't already an issue for the same bug.
- Confirm this is a Vite+ issue and not an upstream issue (Vite, Vitest, tsdown, Rolldown, or Oxc).
- The provided reproduction is a minimal reproducible example.
Reactions are currently unavailable