Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.5.0 compile failure #2889

Open
faveoled opened this issue Feb 19, 2024 · 7 comments
Open

0.5.0 compile failure #2889

faveoled opened this issue Feb 19, 2024 · 7 comments

Comments

@faveoled
Copy link

$ yarn install --ignore-engines
yarn install v1.22.19
warning ../../package.json: No license field
[1/4] Resolving packages...
[2/4] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/gkatsev/vtt.js.git
Directory: /home/user/Downloads/popcorn-desktop-0.5.0
Output:
git@github.com: Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.

Ubuntu 22.04. Any ideas?

@Franck78
Copy link

same output here ;)
registering to the bug

For info only:
usually, I decompress the built package in /opt/popX.X and go ;)

This time, it requires GLIBC 2.25 and I'm under GLIBC2.23 (opensuse need update).
I just wanted to see I building on my 'old' system was sufficient.

@Franck78
Copy link

maybe renamed to 'webvtt'

https://github.com/gkatsev/webvtt

@faveoled
Copy link
Author

The workaround would likely look similar to this:

https://github.com/popcorn-official/popcorn-desktop/blob/dee27a961e88f8e55f5c3a0eb4df40dfc0ca93b1/.github/workflows/build.yml#L31C1-L35C1

@vageliskatsiotis
Copy link

vageliskatsiotis commented Feb 20, 2024

In my case, I get the error for other package

`yarn install v1.22.21
[1/4] Resolving packages...
[2/4] Fetching packages...
error Command failed.
Exit code: 128
Command: git
Arguments: ls-remote --tags --heads ssh://git@github.com/adam-lynch/node-temp.git
Directory: /home/vagelis/GitRepos/popcorn-desktop
Output:
Host key verification failed.
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
`
Found workaround for this. Download the required node module package manually (or search the node_modules directory, it might be there already) and remove the fault entry from yarn.lock file. Build ok after that.

@Franck78
Copy link

The error seems (according to error message) related to git wanting to use a correctly generated ssh setup
https://stackoverflow.com/questions/23546865/how-to-configure-command-line-git-to-use-ssh-key

@kiriles90 kiriles90 added this to Verifying in Popcorn Time Desktop Feb 22, 2024
@squgeim
Copy link

squgeim commented Apr 18, 2024

This happens when you use Git to connect to Github for the first time.

The fix is to manually run the following command and allow connecting to Github.

git ls-remote --tags --heads ssh://git@github.com/gkatsev/vtt.js.git

@cheof
Copy link

cheof commented May 27, 2024

yarnpkg/yarn#3303 (comment)

you need remove yarn.lock which is in the source

rm -f yarn.lock

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Popcorn Time Desktop
  
Verifying
Development

No branches or pull requests

5 participants