File tree Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Expand file tree Collapse file tree 1 file changed +0
-32
lines changed Original file line number Diff line number Diff line change @@ -103,34 +103,6 @@ install_bun() {
103
103
fi
104
104
}
105
105
106
- install_node () {
107
- if command_exists node; then
108
- NODE_VERSION=$( node --version | cut -d' v' -f2 | cut -d' .' -f1)
109
- if [ " $NODE_VERSION " -ge 18 ]; then
110
- print_success " Node.js is already installed ($( node --version) )"
111
- return
112
- fi
113
- fi
114
-
115
- print_status " Installing Node.js LTS..."
116
- case $DISTRO in
117
- " ubuntu" )
118
- curl -fsSL https://deb.nodesource.com/setup_lts.x | sudo -E bash -
119
- sudo apt-get install -y nodejs
120
- ;;
121
- " fedora" )
122
- sudo dnf install -y nodejs npm
123
- ;;
124
- " arch" )
125
- sudo pacman -S --needed --noconfirm nodejs npm
126
- ;;
127
- " opensuse" )
128
- sudo zypper install -y nodejs18 npm18
129
- ;;
130
- esac
131
- print_success " Node.js installation completed"
132
- }
133
-
134
106
install_project_deps () {
135
107
print_status " Installing project dependencies..."
136
108
@@ -139,9 +111,6 @@ install_project_deps() {
139
111
if command_exists bun; then
140
112
bun install
141
113
print_success " Dependencies installed with Bun"
142
- elif command_exists npm; then
143
- npm install
144
- print_success " Dependencies installed with npm"
145
114
else
146
115
print_warning " Package manager not found, but continuing..."
147
116
fi
@@ -181,7 +150,6 @@ main() {
181
150
install_rust
182
151
install_tauri_cli
183
152
install_bun
184
- install_node
185
153
install_project_deps
186
154
verify_basic
187
155
You can’t perform that action at this time.
0 commit comments