accodeing / copy-with-style

An Atom package that allows you to copy syntax highlighted code to the clipboard.
MIT License
7 stars 11 forks source link

Error installing update #19

Open brettz9 opened 2 years ago

brettz9 commented 2 years ago

Hi,

Getting this error trying to update to the latest version...

Updating to “copy-with-style@1.4.0” failed.Hide output…

npm ERR! code E404
npm ERR! 404 Not Found - GET https://codeload.github.com/accodeing/copy-with-style/legacy.tar.gz/v1.4.0
npm ERR! 404 
npm ERR! 404  'https://www.atom.io/api/packages/copy-with-style/versions/1.4.0/tarball' is not in the npm registry.
npm ERR! 404 Your package name is not valid, because 
npm ERR! 404  1. name can only contain URL-friendly characters
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

npm ERR! A complete log of this run can be found in:
npm ERR!     ~/.atom/.apm/_logs/2022-05-05T09_38_56_824Z-debug.log
d-Pixie commented 2 years ago

@brettz9 yes, that is likely. I have not been able to update the package on atom.io due to some error on their side. I'm not the only one with this problem, please see https://github.com/atom/apm/issues/572 for details and updates on that 🙁

I think you should be able to install it manually though (by downloading from Github), but I'm not prepared to give formal instructions about how to do that 🙂

d-Pixie commented 2 years ago

Still waiting on an update on this issue from upstream 🙁

cbuteau commented 2 years ago

Hello,

maybe you can give INFORMAL instructions on how to install directly from your Repo? Like back up this directory... Clone Repo Run Build? Copy these files to apm registry If failure restore directory.

Right now you are the popular game in town (google turns you up first) and the install fails.

brettz9 commented 1 year ago

Copying from GitHub at least did the trick...

apm install accodeing/copy-with-style

Unfortunately, perhaps because you are using main instead of master, when subsequently checking for updates, I get the error:

Fetching outdated packages and themes failed.Hide output…
Exit code: 128 - fatal: couldn't find remote ref master