[英]Error: Uncaught Error: EPERM: operation not permitted, rename when installing electron app on windows
我正在創建一個Electron應用程序,當我嘗試在Windows 7 32位計算機上安裝它時,出現以下錯誤:
Uncaught Error: EPERM: operation not permitted, rename 'D:\final-app\library\db\tmp_login.db~' -> 'D:\final-app\library\db\tmp_login.db'
我試過了
cmd.exe
npm cache clean --force
npm install -g npm@latest --force
但是我仍然遇到同樣的錯誤。 難道我做錯了什么?
就我而言,它在Windows上有幫助:
清理緩存
npm cache clean --force
以管理員身份全局安裝最新版本的npm:
npm install -g npm@latest --force
清理緩存
npm cache clean --force
嘗試再次安裝組件。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.