-
Notifications
You must be signed in to change notification settings - Fork 275
Install packages error - "The system cannot find the path specified." #838
Comments
Can you type the following in a command prompt;
And see if any of the entries contain double-quotes? e.g. "c:\program files..." If they do you can go into system settings and remove the quotes from around it (unlike normal folder names PATH does not need quotes around directories with spaces) |
When I enter |
Can you try a couple of things;
If that gives an error can you edit the apm.cmd file on your machine and change the first line from Thanks |
When initially running Though frequent, there have been a few times recently where this error hasn't shown up when attempting to search for a package. So I've since been trying to narrow down what actions could be triggering this issue and will be providing more info as it appears. Thanks |
After editing that file it should have shown all the individual commands including which one generates that error. |
I just had the same issue with broken package installing and updating on Windows 8.1. I removed all double quotes from my user and the system path variable and now it works. |
Thanks. |
I've been using Atom for a few months now on my Windows 10 laptop and just yesterday, when I try to search for a package to install under the Settings tab I get this error that says "The system cannot find the patch specified."
The same error was also present under the Featured Packages label, though it seems to have been fixed after first opening Atom from command prompt using:
atom --safe
I've also noticed that the output of the apm commands, when run from the command prompt, are all being preceded with
"INFO: Could not find files for the given pattern(s)."
Though I seem to still be able to install package via
apm install <package>
.The command
atom.packages.getApmPath();
returns"C:\Users\there\AppData\Local\atom\app-1.9.9\resources\app\apm\node_modules\atom-package-manager\bin\apm.cmd"
.
Though finding a few posts on https://discuss.atom.io/ about similar issues, none of the suggested fixes have seemed to help and I would really like to fix this issue, so any suggestions or advice would be greatly appreciated.
The text was updated successfully, but these errors were encountered: