You are not logged in.

#1 2022-10-05 15:41:40

givolie
Member
Registered: 2022-10-05
Posts: 2

unable to make nodejs-nativefier

this package is a dependency for whatsapp-nativefier (AUR) which works on my arco linux install however on my arch install it gets stuck compiling

[shaked@shaked-asus nodejs-nativefier]$ makepkg -si
==> Making package: nodejs-nativefier 50.0.0-1 (Wed 05 Oct 2022 06:39:19 PM IDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found nodejs-nativefier-50.0.0.tgz
==> Validating source files with sha1sums...
    nodejs-nativefier-50.0.0.tgz ... Passed
==> Validating source files with sha256sums...
    nodejs-nativefier-50.0.0.tgz ... Passed
==> Extracting sources...
==> Starting prepare()...
package/LICENSE.md
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...

part were it gets stuck --> (-------) idealTree:lib: sill idealTree build deps
after some time

npm ERR! code ECONNREFUSED
npm ERR! syscall connect
npm ERR! errno ECONNREFUSED
npm ERR! FetchError: request to https://registry.npmjs.org/axios failed, reason: connect ECONNREFUSED 2606:4700::6810:1b23:443
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
npm ERR!     at ClientRequest.emit (node:events:513:28)
npm ERR!     at TLSSocket.socketErrorListener (node:_http_client:494:9)
npm ERR!     at TLSSocket.emit (node:events:525:35)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:151:8)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
npm ERR!  FetchError: request to https://registry.npmjs.org/axios failed, reason: connect ECONNREFUSED 2606:4700::6810:1b23:443
npm ERR!     at ClientRequest.<anonymous> (/usr/lib/node_modules/npm/node_modules/minipass-fetch/lib/index.js:130:14)
npm ERR!     at ClientRequest.emit (node:events:513:28)
npm ERR!     at TLSSocket.socketErrorListener (node:_http_client:494:9)
npm ERR!     at TLSSocket.emit (node:events:525:35)
npm ERR!     at emitErrorNT (node:internal/streams/destroy:151:8)
npm ERR!     at emitErrorCloseNT (node:internal/streams/destroy:116:3)
npm ERR!     at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
npm ERR!   code: 'ECONNREFUSED',
npm ERR!   errno: 'ECONNREFUSED',
npm ERR!   syscall: 'connect',
npm ERR!   address: '2606:4700::6810:1b23',
npm ERR!   port: 443,
npm ERR!   type: 'system',
npm ERR!   requiredBy: 'node_modules/nativefier'
npm ERR! }
npm ERR!
npm ERR! If you are behind a proxy, please make sure that the
npm ERR! 'proxy' config is set properly.  See: 'npm help config'

npm ERR! A complete log of this run can be found in:
npm ERR!     /opt/nodejs-nativefier/src/npm-cache/_logs/2022-10-05T15_39_21_338Z-debug-0.log
==> ERROR: A failure occurred in package().
    Aborting...

Last edited by givolie (2022-10-05 15:43:22)

Offline

#2 2022-10-05 15:59:08

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,076

Re: unable to make nodejs-nativefier

Looks like a plain networking issue, you don't get to the url it tries to access. Can you reach that from a browser/with a ping? Are you behind a proxy?

Mod note, moving to AUR issues.

Last edited by V1del (2022-10-05 16:00:24)

Offline

#3 2022-10-05 17:50:48

givolie
Member
Registered: 2022-10-05
Posts: 2

Re: unable to make nodejs-nativefier

no it isn't a networking issue i am not behind a proxy and other aur packages work fine its just nodejs-nativefier getting stuck in the compile on the idealtree thingie
https://imgur.com/a/TdAgt6d (imgur)

Last edited by givolie (2022-10-05 17:53:50)

Offline

#4 2022-10-05 18:30:46

loqs
Member
Registered: 2014-03-06
Posts: 18,818

Re: unable to make nodejs-nativefier

What is the output of

curl -o /dev/null https://registry.npmjs.org/axios

Edit:
package step from local build of nodejs-nativefier 50.0.0-1

==> Starting package()...
npm WARN deprecated electron-osx-sign@0.5.0: Please use @electron/osx-sign moving forward. Be aware the API is slightly different

added 245 packages, and audited 246 packages in 14s

45 packages are looking for funding
  run `npm fund` for details

3 moderate severity vulnerabilities

To address all issues (including breaking changes), run:
  npm audit fix --force

Run `npm audit` for details.
==> Tidying install...

Last edited by loqs (2022-10-05 18:35:34)

Offline

Board footer

Powered by FluxBB