Hi,
Thanks for maintaining this project.
I am using the latest app-builder built from the master branch. I encountered the following error when building element-desktop on both x64 and riscv64 architectures:
yarn run v1.22.19
$ yarn run build:ts && yarn run build:res && electron-builder
$ tsc
$ ts-node scripts/copy-res.ts
• electron-builder version=24.6.4 os=6.1.52-1-lts
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
• packaging platform=linux arch=x64 electron=26.2.0 appOutDir=dist/linux-unpacked
⨯ ENOENT: no such file or directory, scandir '/home/kxxt/Workspaces/arch-riscv/repos/element-desktop/node_modules/auto-launch/node_modules/applescript' failedTask=build stackTrace=Error: ENOENT: no such file or directory, scandir '/home/kxxt/Workspaces/arch-riscv/repos/element-desktop/node_modules/auto-launch/node_modules/applescript'
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
In this case, applescript is located in [project-dir]/node_modules instead of [project-dir]/node_modules/auto-launch/node_modules.
Everything works fine on commit c92c3a2 but it starts to fail on commit 6c7d1e1. So it suggests that this bug is caused by #89.
Hi,
Thanks for maintaining this project.
I am using the latest app-builder built from the master branch. I encountered the following error when building element-desktop on both x64 and riscv64 architectures:
In this case,
applescriptis located in[project-dir]/node_modulesinstead of[project-dir]/node_modules/auto-launch/node_modules.Everything works fine on commit c92c3a2 but it starts to fail on commit 6c7d1e1. So it suggests that this bug is caused by #89.