Package Details: webcord 4.8.0-3

Git Clone URL: https://aur.archlinux.org/webcord.git (read-only, click to copy)
Package Base: webcord
Description: A Discord and SpaceBar Electron-based client implemented without Discord API
Upstream URL: https://github.com/SpacingBat3/WebCord
Keywords: discord electron spacebar webcord
Licenses: MIT
Submitter: Hanabishi
Maintainer: Hanabishi
Last Packager: Hanabishi
Votes: 36
Popularity: 1.06
First Submitted: 2021-11-06 15:32 (UTC)
Last Updated: 2024-04-17 13:12 (UTC)

Dependencies (3)

Required by (0)

Sources (4)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

<deleted-account> commented on 2022-08-08 16:38 (UTC)

@Hanabishi it built now without issues :) Thanks a bunch!

Hanabishi commented on 2022-08-08 16:33 (UTC) (edited on 2022-08-08 16:34 (UTC) by Hanabishi)

Where is the src directory supposed to be?

By default its right in the directory where PKGBUILD is located and you are running makepkg from.
I applied another possible fix, try to build now.

<deleted-account> commented on 2022-08-08 16:17 (UTC)

@Hanabishi no idea, I haven't done anything regarding npm Where is the src directory supposed to be?

EDIT: if by src you mean this path: /home/smokus/.cache/yay/webcord/src/WebCord-3.7.1/node_modules/ then it has node_modules directory in it.

Hanabishi commented on 2022-08-08 16:14 (UTC)

@Smokus, do you have some tricky npm setup? Does src dir contains node_modules directory?

<deleted-account> commented on 2022-08-08 16:09 (UTC)

@Hanabishi unfortunately, new error occurs now:

==> Sources are ready.
==> Making package: webcord 3.7.1-1 (Mo 08 Aug 2022 18:08:55 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Starting build()...
sources/code/common/modules/agent.ts:8:26 - error TS2694: Namespace 'NodeJS' has no exported member 'Architecture'.

8   switch (arch as NodeJS.Architecture) {
                           ~~~~~~~~~~~~


Found 1 error in sources/code/common/modules/agent.ts:8

==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: webcord

Hanabishi commented on 2022-08-08 13:46 (UTC)

@Smokus, can't reproduce, but fixed anyway. Try to update now.

<deleted-account> commented on 2022-08-08 13:27 (UTC)

Updating from v3.6.0 to v.3.7.1 gives me following error:

==> Making package: webcord 3.7.1-1 (Mo 08 Aug 2022 15:26:18 CEST)
==> Retrieving sources...
  -> Downloading WebCord-3.7.1.tar.gz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
100  230k    0  230k    0     0   376k      0 --:--:-- --:--:-- --:--:--  376k
  -> Found run.sh
  -> Found buildInfo.json
  -> Found app.desktop
==> Validating source files with sha256sums...
    WebCord-3.7.1.tar.gz ... Passed
    run.sh ... Passed
    buildInfo.json ... Passed
    app.desktop ... Passed
==> Making package: webcord 3.7.1-1 (Mo 08 Aug 2022 15:26:19 CEST)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found WebCord-3.7.1.tar.gz
  -> Found run.sh
  -> Found buildInfo.json
  -> Found app.desktop
==> Validating source files with sha256sums...
    WebCord-3.7.1.tar.gz ... Passed
    run.sh ... Passed
    buildInfo.json ... Passed
    app.desktop ... Passed
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Extracting WebCord-3.7.1.tar.gz with bsdtar
==> Starting prepare()...

up to date, audited 230 packages in 652ms

27 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.
rm: cannot remove 'node_modules/electron/node_modules/@types/node': No such file or directory
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: webcord

Hanabishi commented on 2022-08-06 12:35 (UTC)

Info: this is indeed kind of a bug in the upstream (check the issue).
Fixed it anyway and updated the package.

Hanabishi commented on 2022-08-02 15:02 (UTC)

@eclairevoyant, I don't think this is the case. As already mentioned in the issue, this is certainly due to lack of @types/node during the build.
Anyway, you can just ignore typing errors for now as described below. I will fix it properly with the package update.

eclairevoyant commented on 2022-08-02 01:40 (UTC)

@cwtopel This is not the package maintainer's problem, errors with the code itself should be reported upstream. I've already reported it here: https://github.com/SpacingBat3/WebCord/issues/204