johnlindquist / kit

Script Kit. Automate Anything.
https://scriptkit.com
MIT License
3.91k stars 138 forks source link

can't install new npm package after restart pc #1243

Closed muhammad-azouz closed 1 year ago

muhammad-azouz commented 1 year ago

Discussed in https://github.com/johnlindquist/kit/discussions/1242

Originally posted by **muhammad-azouz** May 4, 2023 ## Platform Information OS : Windows 11 (22621) ## Steps to Reproduce 1. install scriptkit works perfectly 2. restart pc 3. install npm package 4. error occurred ## Expected Behavior installing the package ## Actual Behavior ``` Kit 1.54.53Electron 24.1.2win32 10.0.22621Locale: en-US Error: File not found: at new WindowsPtyAgent (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\node_modules\node-pty\src\windowsPtyAgent.ts:105:49) at new WindowsTerminal (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\node_modules\node-pty\src\windowsTerminal.ts:51:19) at Object.spawn (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\node_modules\node-pty\src\index.ts:30:10) at C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\main.prod.js:2:478663 at l (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\main.prod.js:2:468816) at Generator. (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\main.prod.js:2:470154) at Generator.next (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\main.prod.js:2:469179) at Ph (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\main.prod.js:2:474808) at a (C:\Users\Muhammad\AppData\Local\Programs\kit\resources\app.asar\main.prod.js:2:475012) ``` ## Additional Information The issue was resolved by re-installing the "scriptkit" software, but unfortunately, the problem recurred upon restarting the PC
muhammad-azouz commented 1 year ago

1242