create-aiko 0.1.1 → 0.1.2
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.
package/package.json
CHANGED
package/template/package.json
CHANGED
|
@@ -153,7 +153,7 @@ async function tryRepairBetterSqlite(error: unknown): Promise<boolean> {
|
|
|
153
153
|
|
|
154
154
|
console.warn('\n[init-db] 检测到 better-sqlite3 原生绑定缺失,正在尝试自动重建...');
|
|
155
155
|
|
|
156
|
-
const projectRoot = join(__dirname, '
|
|
156
|
+
const projectRoot = join(__dirname, '../../../..');
|
|
157
157
|
const rebuild = spawnSync(
|
|
158
158
|
'pnpm',
|
|
159
159
|
['rebuild', 'better-sqlite3'],
|