Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug] Manual build error #47

Open
radeksvarz opened this issue Apr 25, 2024 · 0 comments
Open

[bug] Manual build error #47

radeksvarz opened this issue Apr 25, 2024 · 0 comments

Comments

@radeksvarz
Copy link

💤 yarn install
➤ YN0088: A new stable version of Yarn is available: 4.1.1!
➤ YN0088: Upgrade now by running yarn set version 4.1.1

➤ YN0000: · Yarn 4.0.2
➤ YN0000: ┌ Resolution step
➤ YN0000: └ Completed
➤ YN0000: ┌ Fetch step
➤ YN0013: │ 365 packages were added to the project (+ 14.12 MiB).
➤ YN0000: └ Completed
➤ YN0000: ┌ Link step
➤ YN0007: │ electron@npm:22.3.25 must be built because it never has been before or the last one failed
➤ YN0007: │ lzma-native@npm:8.0.6 must be built because it never has been before or the last one failed
➤ YN0000: └ Completed in 3s 79ms
➤ YN0000: · Done in 3s 374ms
:~/dev/basecamp-linux 𐌖master 
💤 npm run build

> build
> node ./scripts/build.js --arch=x64


Deleting /home/r/dev/basecamp-linux/app/node_modules...

Installing app modules...
Usage Error: The nearest package directory (/home/r/dev/basecamp-linux/app) doesn't seem to be part of the project declared in /home/r/dev/basecamp-linux.

- If /home/r/dev/basecamp-linux isn't intended to be a project, remove any yarn.lock and/or package.json file there.
- If /home/r/dev/basecamp-linux is intended to be a project, it might be that you forgot to list app in its workspace configuration.
- Finally, if /home/r/dev/basecamp-linux is fine and you intend app to be treated as a completely separate project (not even a workspace), create an empty yarn.lock file in it.

$ yarn install [--json] [--immutable] [--immutable-cache] [--refresh-lockfile] [--check-cache] [--check-resolutions] [--inline-builds] [--mode #0]
node:child_process:965
    throw err;
    ^

Error: Command failed: yarn install
    at checkExecSyncError (node:child_process:890:11)
    at Object.execSync (node:child_process:962:15)
    at Object.installAppModules (/home/r/dev/basecamp-linux/scripts/build.js:61:8)
    at Object.build (/home/r/dev/basecamp-linux/scripts/build.js:47:10)
    at Object.<anonymous> (/home/r/dev/basecamp-linux/scripts/build.js:111:9)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  status: 1,
  signal: null,
  output: [ null, null, null ],
  pid: 13215,
  stdout: null,
  stderr: null
}

Node.js v20.11.0
:~/dev/basecamp-linux 𐌖master 

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant