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

pnpm iしたときにENOENT: no such file or directoryと出ることがある #2601

Open
Hiroshiba opened this issue Mar 7, 2025 · 0 comments
Labels

Comments

@Hiroshiba
Copy link
Member

Hiroshiba commented Mar 7, 2025

不具合の内容

タイトルの通りです。
pnpm i中に↓のようなエラーが出ます。

  ⨯ ENOENT: no such file or directory, stat 'C:\Users\hihok\Github\voicevox\node_modules\.pnpm\node_modules\@eslint\eslintrc'  failedTask=installAppDeps stackTrace=Error: ENOENT: no such file or directory, stat 'C:\Users\hihok\Github\voicevox\node_modules\.pnpm\node_modules\@eslint\eslintrc'
 ELIFECYCLE  Command failed with exit code 1.

自分の環境だと以下を実行すれば解決しました。

rm -r node_modules/.pnpm/node_modules

現象・ログ

pnpm iするときにelectron-builder install-app-depsの段階で↓が出ます

> electron-builder install-app-deps && playwright install chromium

  • electron-builder  version=25.1.8
  • executing @electron/rebuild  electronVersion=33.2.0 arch=x64 buildFromSource=false appDir=./
  • installing native dependencies  arch=x64
  ⨯ ENOENT: no such file or directory, stat 'C:\Users\hihok\Github\voicevox\node_modules\.pnpm\node_modules\@eslint\eslintrc'  failedTask=installAppDeps stackTrace=Error: ENOENT: no such file or directory, stat 'C:\Users\hihok\Github\voicevox\node_modules\.pnpm\node_modules\@eslint\eslintrc'
 ELIFECYCLE  Command failed with exit code 1.

その他

electron-builder側の課題・・・かも・・・?

似たような報告例

ブランチを変えまくったりすると頻発するのでどうにかしたい気持ち。

@Hiroshiba Hiroshiba changed the title pnpm iしたときにelectron-builder install-app-depsの段階でENOENT: no such file or directoryと出ることがある pnpm iしたときにENOENT: no such file or directoryと出ることがある Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant