mirror of
https://github.com/tiddly-gittly/TidGi-Desktop.git
synced 2025-12-06 02:30:47 -08:00
fix: docs and loggers, sqlite3 can't load and cause crash
This commit is contained in:
parent
1ae88d7005
commit
0c27989e9e
3 changed files with 16 additions and 7 deletions
|
|
@ -67,15 +67,15 @@ exports.default = async (
|
|||
// not using pnpm, because after using it, it always causing problem here, causing `Error: spawn /bin/sh ENOENT` in github actions
|
||||
// it can probably being "working directory didn't exist" in https://github.com/nodejs/node/issues/9644#issuecomment-282060923
|
||||
// await exec(`pnpm i --shamefully-hoist --prod --ignore-scripts`, { cwd: path.join(cwd, 'node_modules', 'zx'), shell });
|
||||
await exec(`npm i --legacy-building --production`, {
|
||||
await exec(`npm i --registry https://registry.npmmirror.com --legacy-building --production`, {
|
||||
cwd: path.join(cwd, 'node_modules', 'zx'),
|
||||
shell,
|
||||
});
|
||||
await exec(`npm i --legacy-building --production`, {
|
||||
await exec(`npm i --registry https://registry.npmmirror.com --legacy-building --production`, {
|
||||
cwd: path.join(cwd, 'node_modules', 'zx', 'node_modules', 'globby'),
|
||||
shell,
|
||||
});
|
||||
await exec(`npm i --legacy-building --production --ignore-scripts`, {
|
||||
await exec(`npm i --registry https://registry.npmmirror.com --legacy-building --production --ignore-scripts`, {
|
||||
cwd: path.join(
|
||||
cwd,
|
||||
'node_modules',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue