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

neovim: building the extension sometimes fails #2327

Open
saidelike opened this issue May 13, 2024 · 2 comments
Open

neovim: building the extension sometimes fails #2327

saidelike opened this issue May 13, 2024 · 2 comments

Comments

@saidelike
Copy link
Collaborator

The Build test harness task fails sometimes when building the extension:

 *  Executing task in folder test-harness: pnpm run build

      0 [main] dirname (25948) child_copy: cygheap read copy failed, 0x0..
0x800010BB0, done 0, windows pid 25948, Win32 error 299
      0 [main] cygpath (26336) child_copy: cygheap read copy failed, 0x0..
0x800010B38, done 0, windows pid 26336, Win32 error 299
node:internal/modules/cjs/loader:1145
  throw err;
  ^

Error: Cannot find module 'C:\Program Files\Git\node_modules\pnpm\bin\pnpm
.cjs'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1142:15)
    at Module._load (node:internal/modules/cjs/loader:983:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/
run_main:142:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v21.7.1

 *  The terminal process "C:\Program Files\Git\bin\bash.exe '--login', '-i', '-c', 'pnpm run build'" terminated with exit code: 1.
 *  Terminal will be reused by tasks, press any key to close it.

The workaround solution is just to rebuild and it works fine.

@pokey
Copy link
Member

pokey commented May 13, 2024

Are you using corepack?

@saidelike
Copy link
Collaborator Author

Are you using corepack?

I am probably not. How do i check it?

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

2 participants