E500 Internal Server Error When Installing Package in Atom - npm

I'm currently trying to install the package atom-beautify to my Atom IDE. When attempting to do so I get the following error:
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! C:\Users\User.atom.apm_logs\2022-04-19T03_03_14_465Z-debug.log
I understand that this may be solved with downloading additional command-line tools as I currently only have the Windows default tools and Git.
If anybody could give me any information on how to fix this issue that would be great.
Thanks :)

I believe this is an issue with the Atom servers. Issue opened on Atom github portal.
https://github.com/atom/atom/issues/25417

Issue is from yesterday I think, I try to reinstall Atom several times and change the configuration but the issue persist, I search more information into Atom official blogs and didn't find like the root cause or anything related
Maybe server are down because is not related with the atom basic configuration or apm
Hope to solve soon.

The issue is with Atom servers. any package i tried to install these days fails.
An alternative to install atom-beautify is using its github repo.
So use
apm install Glavin001/atom-beautify
references to my answer
https://github.com/atom/apm/issues/355#issuecomment-116411783
https://github.com/atom/atom/issues/25417#issuecomment-1103834423
Use this to install any atom package available on github

Related

npm install command doesn't work for me. ECONNRESET

I am trying to install an NPM package in a project but the installation does not go beyond the buildDeps phase and after a while it gives me the error ECONNRESET. This happens to me with any package I try to install:
I tried to install Express and Angular and couldn't.
Try connecting your device to Internet. NPM is a Package manager which add packages stored in servers and deliver to their users.
If problem still persists, try to install NodeJS again

NPM hanging on installing package 'zos'

Installing an NPM package (in this case 'zos') hangs at :
>npm install zos
fetchMetadata: sill resolveWithNewModule http-https#1.0.0 checking installable status
Seems kind of strange as this has only recently started occurring. Other packages seem not to have this issue...
I am using the following environment:
Arch Linux
Node v11.9.0
NPM v6.9.0
I can install other npm packages without issues (eg, lodash, truffle, web3)
OK, I managed to fix the issue... last week I was having some issues with internet access in a new location with wifi so I had to hack around a bit with my /etc/resolv.conf file to get general internet access again... turns out that while that fixed my general browsing it had a knock on effect on npm installs!
So in summary to fix the issue I replaced my /etc/resolve.conf file which had only the following line in it:
# Generated by NetworkManager
nameserver 192.168.0.1
with a previous version of the file I had saved which had the following contents:
nameserver 127.0.0.53
options edns0
And Walah! Everything works again, including the 'npm install zos'....
Thanks to anyone who was looking into this for me!
Cheers
Rick

How to Install Bulksplash using NPM on a Mac

I'm trying to install an NPM package called Bulksplash. But I have no idea how to install it. I've tried using several guides on general package installations but they're bit tech savvy and I couldn't understand it.
https://github.com/MehediH/Bulksplash
If possible, can anyone please help me how to install this on my Mac? Thanks in advance.
Using the view command, i.e. running:
npm view bulksplash
via the macOS "Terminal" application reports:
npm ERR! 404 'bulksplash' is not in the npm registry.
Therefore you'll need to install the package from Github directly, as per this answer.
i.e. Run the following command in your "Terminal" application:
npm install git+https://github.com/MehediH/Bulksplash.git

Issues with installing sqlite3 in NPM

So I'm just setting up my Discord bot in a new machine. I used the latest Node version in LTS and I have Windows Build Tools installed.
But doing npm install, everything is going well until the part when the sqlite3 package is being installed. I have a log here for reference: https://pastebin.com/ktJ8VyZY
And another log straight from PowerShell: https://pastebin.com/d232rjJY
Before I had issues with Python and that has been resolved but right now I cannot pinpoint exactly what is the problem and I've been reading all lines related to gyp and the problem isn't really clear for me so I'm here if anyone can pinpoint the exact problem and the ways to solve it.
Thank you.
Package.json if needed: https://pastebin.com/ACh0mQRe

Diagnosing npm’s “invalid” error in package list

When I do npm list --global, one package, phonegap, shows as invalid.
npm ERR! invalid: phonegap#5.0.0-0.28.1 /usr/local/lib/node_modules/phonegap
No other packages have any errors or problems. I’ve tried to look into this, and learned that the message means a dependency is unfulfilled, but I can’t figure out which one. If I run npm update --global phonegap it exits cleanly, with no errors.
I originally installed npm & node via Homebrew, if that’s relevant. Here’s my full list of globally installed packages.
How do I diagnose this?
Have you tried changing the permissions for that package? I recently had a similar problem with global packages and it turned out to be a permissions issue
https://docs.npmjs.com/getting-started/fixing-npm-permissions