Comments (10)
The issue is an internal error on atoms side. So default installs with apm or inside atom won't work as they rely on that API.
Workaround is installing packages directly from their GitHubs. So for a package like https://atom.io/packages/language-rust:
apm install language-rust
WONT WORK
apm install zargony/atom-language-rust
should work
Format is apm install <GitHubUser>/<PackageRepo>
. Note that the repo might be named differently than the package itself
from apm.
I am also having the same issue.
Windows 10 fresh install of atom 1.60
issue occurs from w/in atom or through CLI apm
searching works, installing causes the error in CLI
tried several times with several packages both in GUI and in CLI
Edit: I noticed that this was been happening for me yesterday, but didn't take the time to look into it until about an hour before this post was made.
from apm.
Same issue here. I did some research, and found that if you try from terminal, like: apm install jooola/markdown-to-pdf
for example, then it will work. I have no idea what the problem may be tho.
(solution found by @mjmar01, at #946 issue )
from apm.
--- I have the same error ---
Description
I cannot get any of the optional packages to install, either by using the Atom Package Installer, or the command line. It doesn't matter which one I try... it's always the same error.
Open atom
Click on "Install a Package" on the welcome page
Open Installer
Search for any package (in this case: atom-beautify
Click install
get error below
Open command line
Enter in a command like apm install atom-beautify
Expected behavior:
Package gets installed without returning a server error.
Actual behavior:
Package is not installed, an error is returned.
npm ERR! code E500
npm ERR! 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/computertraining/.atom/.apm/_logs/2022-04-25T03_58_50_315Z-debug.log
Contents of Log File:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/bin/node',
1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli '/Users/computertraining/.atom/.apm/.apmrc',
1 verbose cli '--userconfig',
1 verbose cli '/Users/computertraining/.atom/.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball',
1 verbose cli '--target=9.4.4',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session b8c3a305994d148d
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 500 https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball 70952ms attempt #3
8 silly fetchPackageMetaData error for https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 70977ms
11 verbose stack Error: 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
11 verbose stack at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15
11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:94:5)
12 verbose statusCode 500
13 verbose pkgid https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
14 verbose cwd /private/var/folders/s9/2tkfxjsj0s323w1pkm67g14w0000gq/T/apm-install-dir-2022324-11294-1whmy75.6hg2
15 verbose Darwin 20.6.0
16 verbose argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/computertraining/.atom/.apm/.apmrc" "--userconfig" "/Users/computertraining/.atom/.apmrc" "install" "https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
17 verbose node v12.14.1
18 verbose npm v6.14.13
19 error code E500
20 error 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
21 verbose exit [ 1, true ]
computertraining@Wanes-iMac-2 ~ % cat atom.error
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/bin/node',
1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli '/Users/computertraining/.atom/.apm/.apmrc',
1 verbose cli '--userconfig',
1 verbose cli '/Users/computertraining/.atom/.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball',
1 verbose cli '--target=9.4.4',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session b8c3a305994d148d
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 500 https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball 70952ms attempt #3
8 silly fetchPackageMetaData error for https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 70977ms
11 verbose stack Error: 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
11 verbose stack at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15
11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:94:5)
12 verbose statusCode 500
13 verbose pkgid https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
14 verbose cwd /private/var/folders/s9/2tkfxjsj0s323w1pkm67g14w0000gq/T/apm-install-dir-2022324-11294-1whmy75.6hg2
15 verbose Darwin 20.6.0
16 verbose argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/computertraining/.atom/.apm/.apmrc" "--userconfig" "/Users/computertraining/.atom/.apmrc" "install" "https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
17 verbose node v12.14.1
18 verbose npm v6.14.13
19 error code E500
20 error 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
21 verbose exit [ 1, true ]
computertraining@Wanes-iMac-2 ~ % clear
computertraining@Wanes-iMac-2 ~ % cat atom.error
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/bin/node',
1 verbose cli '/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js',
1 verbose cli '--globalconfig',
1 verbose cli '/Users/computertraining/.atom/.apm/.apmrc',
1 verbose cli '--userconfig',
1 verbose cli '/Users/computertraining/.atom/.apmrc',
1 verbose cli 'install',
1 verbose cli 'https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball',
1 verbose cli '--target=9.4.4',
1 verbose cli '--disturl=https://atom.io/download/electron',
1 verbose cli '--arch=x64',
1 verbose cli '--global-style'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session b8c3a305994d148d
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 500 https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball 70952ms attempt #3
8 silly fetchPackageMetaData error for https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
9 timing stage:rollbackFailedOptional Completed in 1ms
10 timing stage:runTopLevelLifecycles Completed in 70977ms
11 verbose stack Error: 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
11 verbose stack at /Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/node_modules/npm-registry-fetch/check-response.js:117:15
11 verbose stack at processTicksAndRejections (internal/process/task_queues.js:94:5)
12 verbose statusCode 500
13 verbose pkgid https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
14 verbose cwd /private/var/folders/s9/2tkfxjsj0s323w1pkm67g14w0000gq/T/apm-install-dir-2022324-11294-1whmy75.6hg2
15 verbose Darwin 20.6.0
16 verbose argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/computertraining/.atom/.apm/.apmrc" "--userconfig" "/Users/computertraining/.atom/.apmrc" "install" "https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball" "--target=9.4.4" "--disturl=https://atom.io/download/electron" "--arch=x64" "--global-style"
17 verbose node v12.14.1
18 verbose npm v6.14.13
19 error code E500
20 error 500 Internal Server Error - GET https://www.atom.io/api/packages/atom-beautify/versions/0.33.4/tarball
21 verbose exit [ 1, true ]
Versions
Atom : 1.60.0 x64
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1
Update check failed. The server sent an invalid response (as per Atom's check utility)
macOS Big Sur
Version 11.6.5
Additional Information:
Packages that I have tried .....
atom-ternjs
autoclose-html-plus
emmet
CSSLint
pigments
language-ejs
atom-beautify
from apm.
Do we know if Atom are looking into this? I am also getting all package installs failing and my backups are failing between computers (work + home) and I cannot sync packages. It's rather annoying and can be a potential mess.
from apm.
See issue #946 but I originally closed it because it seemed to be fixed. Can you check again and post something there?
from apm.
Yesterday the problem was still there -- this morning it was gone !
I checked out the server issue that I originally had "npm ERR! code E500" on any package I picked, and it appears to be fixed on my machine. I was able to install all the packages that I asked for on the GUI, and the Atom updates from the server (which were not working yesterday), are now working again. I tried to install "atom-clock" from the command line and that worked too -- I verified in Atom that it was now there.
I don't know about anyone else, but everything is working here.
from apm.
I have checked over an hour ago and all seems to be working fine again and I can install and backup between machines without a problem.
from apm.
Also just confirmed, the issue seems to be fixed. Using the package manager through the GUI/CLI does appear to be working correctly again.
from apm.
Still having issues with this. apm and GUI fails. Also get errors from the search function..
from apm.
Related Issues (20)
- `apm publish` fails to publish new package from !`master` branch with error: `That repo does not exist, isn't an atom package, or you do not have access`
- Can't publish package: "Package must be in a Git repository before publishing", but it isn't true (I think) HOT 3
- apm doesn't seem to check if a more recent version of node, git, etc. is installed
- [Feature Request - Package] XAML C# Editor Support
- Ignore a shebang in a packages-file.
- amp publish minor causes Registering package in asida/atom-language-m-lang repository failed: That repo does not exist, isn't an atom package, or you do not have access
- Packages do not install
- Not able to publish in ATOM HOT 1
- error in windows cmd HOT 2
- Feature Request: Support Packages Hosted On Gitea Instance
- Feature Request: Self Hostable Repositories
- Kite isn't installing HOT 2
- apm package installs are failing... server code 500. HOT 29
- Unpublish themes. I can't unpublish themes after I removed github repositories.
- Cannot publish package - authentication problem HOT 4
- Unable to publish package (API HTTP 500): Creating new version failed: Application error
- Please announce and document that package management is disabled
- cannot use apm in Windows batch file
- install packages from settings Install in Atom
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apm.