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

Node gyp failed #57

Open
mikeogi opened this issue Aug 1, 2023 · 0 comments
Open

Node gyp failed #57

mikeogi opened this issue Aug 1, 2023 · 0 comments

Comments

@mikeogi
Copy link

mikeogi commented Aug 1, 2023

I'am use package bigint-buffer "^1.1.5" in electron application. After update package electron-builder, project don't builded. There is a error.


Error: spawn C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin ENOENT
    at Process.ChildProcess._handle.onexit (node:internal/child_process:285:19)
    at onErrorNT (node:internal/child_process:485:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
    at onErrorNT (node:internal/child_process:485:16)
    at processTicksAndRejections (node:internal/process/task_queues:83:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Msbuild\\Current\\Bin',
  path: 'C:\\Program Files\\Microsoft Visual Studio\\2022\\Community\\Msbuild\\Current\\Bin',
  spawnargs: [
    'build/binding.sln',
    '/clp:Verbosity=minimal',
    '/nologo',
    '/p:Configuration=Release;Platform=x64'
  ]
}

  ⨯ node-gyp failed to rebuild 'C:\Users\admin\wd\node_modules\bigint-buffer'  failedTask=build stackTrace=Error: node-gyp
failed to rebuild 'C:\Users\admin\wd\node_modules\bigint-buffer'
    at ChildProcess.<anonymous> (C:\Users\admin\wd\node_modules\@electron\rebuild\src\module-type\node-gyp\node-gyp.ts:131:
16)
    at ChildProcess.emit (node:events:513:28)
    at Process.ChildProcess._handle.onexit (node:internal/child_process:293:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
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