Open bogdanostojic opened 7 years ago
I have a similar issue. I can't view or install themes or packages. On themes page in settings I get "Fetching local packages failed." on install page I get "Fetching featured packages failed.". On packages page the packages are not loaded. In output message it says "the system was unable to find the path".
Don't really know what's going up with Atom. I just switched to Visual Studio Code until I can get it working on my machine
I think the problem has something to do with environment variables. I am using Windows 7 and have no environment variables set for atom. I think there should be an entry in "Path" or "PATH". Could somebody please tell me what the environment variables for atom should be?
Sorry for missing this one @bogdanostojic - @bogdanostojic @joergmoldenhauer, can you share what you get from running apm list
from cmd?
@joergmoldenhauer - on my Windows 10 machine PATH
includes C:\Users\robert\AppData\Local\atom\bin
.
@rsese Thanks for your response. I have the path to "...\atom\bin" in my PATH environment variable (with my username of course). There seem's to be something wrong with it, because I can not run atom commands on my cmd. I think this problem might be connected with the package loading problem. On my other computer I do not have these problems. There I can run atom commands and install packages and themes.
@rsese Thanks for replying. @joergmoldenhauer Sorry to hear that you are having the same problem as I do. I get this when i run apm-list :
module.js:471 throw err; ^
Error: Cannot find module 'C:\Users\SPACE\AppData\Local\atom\app-1.18.0\resources\app\apm\lib\cli.js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:390:7) at startup (bootstrap_node.js:150:9) at bootstrap_node.js:505:3
I was just able to solve the problem by uninstalling and installing atom. @bogdanostojic as you already tried this, I think our problems might not be quite the same.
I am still not able to run atom commands in the cmd, but that's another problem.
Yeah they seem like different issues - @bogdanostojic, can you confirm if there's anything in C:\Users\SPACE\AppData\Local\atom\app-1.18.0\resources\app\apm\lib
? Or even 1 directory above at C:\Users\SPACE\AppData\Local\atom\app-1.18.0\resources\app\apm
?
Yeah seems so. @rsese, here is apm\lib folder and app\apm
Thanks for the screenshots @bogdanostojic - I see your username in the screenshot is SPACE!
with an exclamation point but the error message is showing your username without the !
:
Error: Cannot find module 'C:\Users\SPACE\AppData\Local\atom\app-1.18.0\resources\app\apm\lib\cli.js'
Makes sense why the file can't be found since your user directory is C:\Users\SPACE!
- I can generate the 'node.exe' is not recognized as an internal or external command, operable program or batch file.
error from Settings > Install
on my Windows 10 machine:
SPACE!
Settings > Install
If I follow the same steps but name the account SPACE
without the exclamation point, it works ok.
I don't know if there's a great workaround aside from creating a new account that doesn't end in a !
? I'm also not sure if this is an Atom issue or a Squirrel issue but tagging as a bug for now.
Sharp eyes @rsese, didn't notice that. I haven't tried it on that machine, but I have a same user on my laptop without the exclamation point and it works just fine, tried it on a Windows 7 machine as well, works good. Thanks a lot for the help.
Nice work finding that bug!
@rsese Thanks for replying. @joergmoldenhauer Sorry to hear that you are having the same problem as I do. I get this when i run apm-list :
module.js:471 throw err; ^
Error: Cannot find module 'C:\Users\SPACE\AppData\Local\atom\app-1.18.0\resources\app\apm\lib\cli.js' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.runMain (module.js:604:10) at run (bootstrap_node.js:390:7) at startup (bootstrap_node.js:150:9) at bootstrap_node.js:505:3
I have this error same like you.
Hey @dumb-stuff , have you checked to see if your windows User name has any special characters in it?
Prerequisites
[X ] Put an X between the brackets on this line if you have done all of the following: [X ] Reproduced the problem in Safe Mode: http://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode [X ] Followed all applicable steps in the debugging guide: http://flight-manual.atom.io/hacking-atom/sections/debugging/ [X ]Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq [X ] Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom [X ] Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
When i open the settings tab to install packages or themes, or even the packages and theme tab cant load the installed, it just says loading packages/themes...
During the debugging guide when i tried to check all the commands for errors. Check for Linked Packages step caused the same error
This is under Check Font Rendering Issues in debugging : [When i click back and forth packages and themes in the install tab the error stacks and the Ctrl+Shift+I shows the console]
Steps to Reproduce
~~1. I first tried uninstalling, reseting then installing again a newly downloaded atom.exe file. Same error
Edit: updated steps to reproduce by @rsese
Tested on Windows 10, to repro:
SPACE!
Fetching featured packages failed
error, clickShow output
.In the expanded output you'll see:
Expected behavior: To preview like on my other machines, to work normal.
Actual behavior: [What actually happens] [Same for themes] [For installed packages it stays at loading packages...] This is under Check Font Rendering Issues in debugging : [When i click back and forth packages and themes in the install tab the error stacks and the Ctrl+Shift+I shows the console]
Reproduces how often: 100%
Versions
Atom : 1.16.0 Electron : 1.3.13 Chrome : 52.0.2743.82 Node : 6.5.0
Windows 10 Education 64-bit Version : 1607 OS Build : 14393.1198
Additional Information
Running the latest update from Windows 10, date is 15th May 2017