oneie 3.6.12 → 3.6.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,11 @@
4
4
 
5
5
  When user types `/server [action]`, manage the ONE Platform development server.
6
6
 
7
- IMPORTANT: Check if cd web && bun install
7
+ **CRITICAL:** For `/server start` and `/server restart`:
8
+ 1. Check if web/node_modules exists
9
+ 2. If missing, run `cd web && bun install` FIRST
10
+ 3. Only then run `bun run dev`
11
+ 4. This prevents "failed to start" errors from missing dependencies
8
12
 
9
13
  ### Supported Actions
10
14
 
@@ -91,13 +95,54 @@ Are you in the ONE Platform root directory?
91
95
  Current directory: [pwd]
92
96
  ```
93
97
 
94
- ### Step 3: Start Server in Background
98
+ ### Step 3: Check Dependencies are Installed
99
+
100
+ Check if `node_modules` exists in web/:
101
+
102
+ ```bash
103
+ [ -d web/node_modules ] && echo "installed" || echo "missing"
104
+ ```
105
+
106
+ **If dependencies not installed:**
107
+
108
+ Show progress message and install:
109
+
110
+ ```
111
+ 📦 Installing dependencies...
112
+
113
+ Installing:
114
+ cd web && bun install
115
+ ```
116
+
117
+ Run the install:
118
+
119
+ ```bash
120
+ cd web && bun install
121
+ ```
122
+
123
+ **If install succeeds, continue to Step 4.**
124
+
125
+ **If install fails, show error:**
126
+
127
+ ```
128
+ ❌ Failed to install dependencies
129
+
130
+ Try manually:
131
+ cd web && bun install
132
+
133
+ Common issues:
134
+ • Node.js/Bun not installed
135
+ • package.json corrupted
136
+ • Network issues
137
+ ```
138
+
139
+ ### Step 4: Start Server in Background
95
140
 
96
141
  ```bash
97
142
  cd web && bun run dev > /dev/null 2>&1 &
98
143
  ```
99
144
 
100
- ### Step 4: Wait and Verify (2 seconds)
145
+ ### Step 5: Wait and Verify (2 seconds)
101
146
 
102
147
  ```bash
103
148
  sleep 2 && lsof -ti:4321 2>/dev/null
@@ -212,14 +257,28 @@ lsof -ti:4321 | xargs kill 2>/dev/null
212
257
  sleep 1
213
258
  ```
214
259
 
215
- ### Step 2: Start Server
260
+ ### Step 2: Check Dependencies are Installed
261
+
262
+ Check if `node_modules` exists in web/:
263
+
264
+ ```bash
265
+ [ -d web/node_modules ] && echo "installed" || echo "missing"
266
+ ```
267
+
268
+ **If dependencies not installed, run:**
269
+
270
+ ```bash
271
+ cd web && bun install
272
+ ```
273
+
274
+ ### Step 3: Start Server
216
275
 
217
276
  ```bash
218
277
  cd web && bun run dev > /dev/null 2>&1 &
219
278
  sleep 2
220
279
  ```
221
280
 
222
- ### Step 3: Verify Running
281
+ ### Step 4: Verify Running
223
282
 
224
283
  ```bash
225
284
  lsof -ti:4321 2>/dev/null
package/folders.yaml CHANGED
@@ -87,6 +87,6 @@ exclude_patterns:
87
87
  deployment:
88
88
  github_repo: one-ie/one
89
89
  npm_package: oneie
90
- version: 3.6.12
90
+ version: 3.6.13
91
91
  homepage: https://one.ie
92
92
  license_url: https://one.ie/free-license
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oneie",
3
- "version": "3.6.12",
3
+ "version": "3.6.13",
4
4
  "type": "module",
5
5
  "description": "Build apps, websites, and AI agents in English. Download to your computer, run in the cloud, deploy to the edge. Open source and free forever.",
6
6
  "bin": {