-
Notifications
You must be signed in to change notification settings - Fork 277
Atom package manager can not show any installed modules on Windows in Settings view #924
Comments
Add: I can get nothing after execute "apm" or "apm --version" in "cmd.exe", is there any possbility that apm is not correctly recognized during installation. The problem still exists with the portable version. |
Thanks for moving your issue over ✌️ Based on your screenshots, it looks like there's some similarity to #533. Looking at some of the comments there, can you confirm how you start Atom when you run into this problem? E.g. via the Start Menu or with right-click "Open with > Atom"?
Just to confirm, do you mean the command hangs and doesn't return or it returns and doesn't display anything? Can you share a screenshot of what you see when running |
It seems accessing apm's output is blocked. There is still no output even executing "apm ls --json" in "cmd.exe". So clicking "show output" in error warning in settings-view just showed blank. What do you think may cause this problem? @rsese |
What is the output of |
@50Wliu |
Please try the following to help diagnose the issue and let us know the results.
|
Thanks for reply. @damieng
There is no directory named "atom x64" in the path you mentioned.
Still no output after executing "apm". |
Can you open the file C:\Users\TAXUE\AppData\Local\atom\app-1.15.0\resources\app\apm\bin\apm.cmd in Atom and paste the contents here? Also if the first line is
Sorry that you're having this trouble - this is very unusual. |
Still no output.
I have tried to modify first line with
And still no output after executing "apm". |
Basically it's supposed to be running the node.exe against a JS file. I've never seen it silently fail before. Try this;
|
|
What kind of problem do you think it will be? @damieng |
I'm at a loss. Basically node when running this code is just silently exiting. I've never seen a report of that before despite the huge number of Atom users. You could try checking to see if you have a .apmrc file in your .atom home folder ( |
It seems there is no file named ".apmrc" in the folder.
|
Can you make sure that I just did |
Here is the content of the file "cli.js".
|
The problem is very strange. On my second laptop, atom works well even after I reinstall Windows 10. But on this laptop, it doesn't work well. The problem should be nothing to do with the hardware. I am confused. |
Maybe this problem is likely to be related to hardware? I reinstall Windows 10 Pro on my laptop and the problem still exists. The system version is Windows 10 Home before. So it is nothing to do with Windows. On My other devices, atom works well regardless of system version. One is i5-3210m and the other is z8550. However, things go wrong on this device which is n4200. So maybe it is related to drivers with n4200. Is there any possibility that the compiled program like node.exe can not correctly run on a particular platform? The problem only exists on this device. @rsese @damieng @50Wliu |
I wouldn't have thought it's node or drivers but I'm not sure there's much more diagnosis we can do without being able to reproduce the problem ourselves. Given the lack of others reporting the issue it's probably something very specific on this system. |
Will remote assistance be helpful? I do not know how to debug it. Maybe you will get more diagnosis information if you can access my device. |
Sorry, remote debugging for an issue that looks system specific is beyond the help we can provide. If there was a reproducible problem like @damieng mentioned, then that's something we could investigate without the need for remote debugging. |
The problem seems a little different after upgrading atom to 1.16.0. The output is not null any more. I will paste new error message below.
|
It sounds then like a connection issue - is your machine behind a proxy server, firewall or corporate network? |
I use shadowsocks but the problem remains same after I turn it off. I also allow "node.exe" in Windows Firewall and executed "apm config set strict-ssl false" in powershell in reference to similar issue. By the way, apm works correctly now. |
I'm confused. You say the problem remains but it works correctly now... |
Based on the SSL error message I'd say your sockets/proxy is attempting to do something unusual with the SSL connection. I don't think we are going to be able to provide any additional help in such a scenario. |
hey, have the same issue, what cpu does this laptop have, maybe related to this : nodejs/node#12691 mine is a celeron N3350 |
Mine is N4200. @praneethmendu |
@TAXUEZJU I got it working by using 32 bit version. That is worse than hacky I agree but I needed some solution now. |
i had the same problem. i have a celeron n3450 cpu. i always got this error message:
i experimented a lot but the only way to get it working was to use the 32bit version like praneethmendu suggested. |
There was an issue in a code path in openssl that was wrong for these processors. It was unfortunately adopted by node and subsequently comes in to Electron and finally to Atom. Unfortunately they have chosen only to apply the fixes to LTS versions of node - 8,6 and 4. We are currently using a version of Electron that ships with Node 7. Until we move to at least Electron 1.8.1 running 32-bit version is going to be the only workaround. That might take some time. |
I also have this same error message when install the Atom x64 1.23.3 release, with cpu Pentium N4200. Looks like the problem is not yet resolved after almost a year. Thanks for the info. |
Yes, unfortunately you'll need to use the 32-bit version of Atom until Atom ships with Electron 1.8. |
@damieng any chance Atom adopts a backported SSL fix for its bundled in version of Electron? |
Unfortunately as described above the fix was only made to node versions 8, 6 and 4. Electron 1.7 uses node 7 and upgrading the version of node in Electron is often a major undertaking which is why it was adopted in Electron 1.8. The Atom team is working towards 1.8 but in the mean time using the 32-bit version of Atom should work just fine and there are no 64-bit only features you would miss out on. |
Me here on celeron n3550. Using the 32 bit version is just a fine solution. |
We anticipate that Atom 1.28 will include an upgrade to Electron 2.0, which uses Node 8, so that will likely resolve this issue. (Note that the current version of Atom is 1.26, but we anticipate releasing Atom 1.28 this summer.) |
Hey, running on Atom 1.28.2 here and the problem still persists. Running on a celeron N4200 here, same exact error code, same exact problem. Has someone maybe found a manual patch in the meantime? |
This is still happening because the What you might be able to do is just replace the Atom itself will still be 64-bit with the added performance increases and large file size support that comes with while the apm command line just used for package updates/install will use the 32-bit version to avoid the bug in the 64-bit OpenSSL on Celerons. Just make sure the version of node.exe matches - i.e. |
Uh oh!
There was an error while loading. Please reload this page.
Description
On latest Windows 10 Home Edition, there is some problem with atom package manager. Nothing can show in Featured Packages in Settings even I has not installed any modules. The error message is "Fetching featured packages failed", and nothing shows after click "Show output". I have turned on Dev window, and find something like "uncaught error" in red. I am sure my network is OK, and atom's version is latest. I have tried to fully uninstall atom and delete all its directory and reinstall it. The problem still exists. I have tried clean install Windows and the problem still not be solved. My atom version and log file's content is below:
and
The text was updated successfully, but these errors were encountered: