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

Cannot install extensions in Cuba #130

Open
2 tasks done
paolobenve opened this issue Apr 29, 2024 · 1 comment
Open
2 tasks done

Cannot install extensions in Cuba #130

paolobenve opened this issue Apr 29, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@paolobenve
Copy link

paolobenve commented Apr 29, 2024

Thanks in advance for your bug report!

  • Have you reproduced this issue in incognito/private browsing? I don't know how to do it
  • Have you made sure you issue doesn't already exist?

Where is the URL that this occurs?

I don't know. I'm trying to install pulsar packages with its install procedure

What's your issue?

Trying to install an extension, I got this result:

0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli   '/opt/Pulsar/resources/app/ppm/bin/node',
1 verbose cli   '/opt/Pulsar/resources/app/ppm/node_modules/npm/bin/npm-cli.js',
1 verbose cli   '--globalconfig',
1 verbose cli   '/home/paolo/.pulsar/.apm/.apmrc',
1 verbose cli   '--userconfig',
1 verbose cli   '/home/paolo/.pulsar/.apmrc',
1 verbose cli   'install',
1 verbose cli   'https://api.pulsar-edit.dev/api/packages/symbols-tree-view/versions/0.14.0/tarball',
1 verbose cli   '--target=12.2.3',
1 verbose cli   '--disturl=https://artifacts.electronjs.org/headers/dist',
1 verbose cli   '--arch=x64',
1 verbose cli   '--force-process-config',
1 verbose cli   '--global-style'
1 verbose cli ]
2 info using [email protected]
3 info using [email protected]
4 verbose npm-session e07fbfd776ab1f49
5 silly install loadCurrentTree
6 silly install readLocalPackageData
7 http fetch GET 304 https://codeload.github.com/xndcn/symbols-tree-view/legacy.tar.gz/refs/tags/v0.14.0 2232ms (from cache)
8 silly pacote remote manifest for undefined@https://api.pulsar-edit.dev/api/packages/symbols-tree-view/versions/0.14.0/tarball fetched in 2243ms
9 timing stage:loadCurrentTree Completed in 2258ms
10 silly install loadIdealTree
11 silly install cloneCurrentTreeToIdealTree
12 timing stage:loadIdealTree:cloneCurrentTree Completed in 0ms
13 silly install loadShrinkwrap
14 timing stage:loadIdealTree:loadShrinkwrap Completed in 1ms
15 silly install loadAllDepsIntoIdealTree
16 silly resolveWithNewModule [email protected] checking installable status
17 silly fetchPackageMetaData error for event-kit@latest request to https://registry.npmjs.org/event-kit failed, reason: read ECONNRESET
18 silly fetchPackageMetaData error for atom-space-pen-views@^2.0.0 request to https://registry.npmjs.org/atom-space-pen-views failed, reason: read ECONNRESET
19 silly fetchPackageMetaData error for q@~1.0.1 request to https://registry.npmjs.org/q failed, reason: read ECONNRESET
20 timing stage:rollbackFailedOptional Completed in 1ms
21 timing stage:runTopLevelLifecycles Completed in 73784ms
22 silly saveTree apm-install-dir-2024326-164637-1naek43.ge59
22 silly saveTree └── [email protected]
23 verbose type system
24 verbose stack FetchError: request to https://registry.npmjs.org/event-kit failed, reason: read ECONNRESET
24 verbose stack     at ClientRequest.<anonymous> (/opt/Pulsar/resources/app/ppm/node_modules/npm/node_modules/node-fetch-npm/src/index.js:68:14)
24 verbose stack     at ClientRequest.emit (node:events:365:28)
24 verbose stack     at TLSSocket.socketErrorListener (node:_http_client:447:9)
24 verbose stack     at TLSSocket.emit (node:events:365:28)
24 verbose stack     at emitErrorNT (node:internal/streams/destroy:193:8)
24 verbose stack     at emitErrorCloseNT (node:internal/streams/destroy:158:3)
24 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:83:21)
25 verbose cwd /tmp/apm-install-dir-2024326-164637-1naek43.ge59
26 verbose Linux 6.8.0-31-generic
27 verbose argv "/opt/Pulsar/resources/app/ppm/bin/node" "/opt/Pulsar/resources/app/ppm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/home/paolo/.pulsar/.apm/.apmrc" "--userconfig" "/home/paolo/.pulsar/.apmrc" "install" "https://api.pulsar-edit.dev/api/packages/symbols-tree-view/versions/0.14.0/tarball" "--target=12.2.3" "--disturl=https://artifacts.electronjs.org/headers/dist" "--arch=x64" "--force-process-config" "--global-style"
28 verbose node v16.0.0
29 verbose npm  v6.14.19-pulsar1-1
30 error code ECONNRESET
31 error errno ECONNRESET
32 error network request to https://registry.npmjs.org/event-kit failed, reason: read ECONNRESET
33 error network This is a problem related to network connectivity.
33 error network In most cases you are behind a proxy or have bad network settings.
33 error network
33 error network If you are behind a proxy, please make sure that the
33 error network 'proxy' config is set properly.  See: 'npm help config'
34 verbose exit [ 1, true ]

Pulsar 1.111.0

Which OS/Browser/Version does this happen on?

🐧 Debian based (Linux Mint, Ubuntu, etc.)

xubuntu 24.04; same behaviour in 22.04

Which CPU architecture are you running this on?

x86_64/AMD64

What steps are needed to reproduce this?

In Pulsar:

  • Edit - preferences -> install
  • type any hint, and push the install button of any uninstalled package

Install doesn't happen, and after about a minute I get the error notification

Additional Information:

I suspect that it's because I'm in Cuba, and many web sites doesn't permit connection from this country.

Unfortunatly I'm not able to run pulsar behind a vpn.

@paolobenve paolobenve added the bug Something isn't working label Apr 29, 2024
@paolobenve paolobenve changed the title prova Cannot install extensions in Cuba Apr 29, 2024
@confused-Techie
Copy link
Member

I've already addressed this issue and the solution over on your original issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants