Package Details: owntracks-frontend 2.15.3-1

Git Clone URL: https://aur.archlinux.org/owntracks-frontend.git (read-only, click to copy)
Package Base: owntracks-frontend
Description: Web interface for OwnTracks built with Vue.js
Upstream URL: https://github.com/owntracks/frontend
Submitter: dcelasun
Maintainer: dcelasun
Last Packager: dcelasun
Votes: 1
Popularity: 0.064055
First Submitted: 2023-11-27 20:03 (UTC)
Last Updated: 2024-08-15 13:41 (UTC)

Dependencies (3)

Required by (0)

Sources (1)

Latest Comments

dcelasun commented on 2024-08-15 13:41 (UTC)

Updated to 2.15.3 and node 20.

rlees85 commented on 2024-08-15 13:22 (UTC)

This is out of date and I suspect all the NVM/Yarn hacks are not needed anymore. Possible update?

I've got it working locally with the latest version (2.15.3) with just npm install and npm run build

dcelasun commented on 2024-07-17 10:40 (UTC)

It builds fine here. Are you building with an AUR helper by any chance? Try building manually. This part looks suspicious to me:

Now using node v14.21.3 (npm v6.14.18)
/home/bruh/.nvm/versions/node/v18.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:39787
      process.exitCode ??= code;

First it says it's using node 14.21.3 (which is correct, as owntracks expects node 14) but then it's trying to load a module from node 18.18.2?

tronicdude commented on 2024-07-17 02:12 (UTC)

==> Starting prepare()...
Downloading and installing node v14.21.3...
Downloading https://nodejs.org/dist/v14.21.3/node-v14.21.3-linux-x64.tar.xz...
########################################################################################################################################## 100.0%
Computing checksum with sha256sum
Checksums matched!
Now using node v14.21.3 (npm v6.14.18)
Creating default alias: default -> 14 (-> v14.21.3)
Now using node v14.21.3 (npm v6.14.18)
/home/bruh/.nvm/versions/node/v18.18.2/lib/node_modules/corepack/dist/lib/corepack.cjs:39787
      process.exitCode ??= code;
                       ^^^

SyntaxError: Unexpected token '??='
    at wrapSafe (internal/modules/cjs/loader.js:1029:16)
    at Module._compile (internal/modules/cjs/loader.js:1078:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
    at Module.load (internal/modules/cjs/loader.js:979:32)
    at Function.Module._load (internal/modules/cjs/loader.js:819:12)
    at Module.require (internal/modules/cjs/loader.js:1003:19)
    at require (internal/modules/cjs/helpers.js:107:18)
    at Object.<anonymous> (/home/bruh/.nvm/versions/node/v18.18.2/lib/node_modules/corepack/dist/yarn.js:2:1)
    at Module._compile (internal/modules/cjs/loader.js:1114:14)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
==> ERROR: A failure occurred in prepare().
    Aborting...
 -> error making: owntracks-frontend-exit status 4
removing untracked AUR files from cache...
:: Cleaning (1/1): /home/bruh/.cache/yay/owntracks-frontend
Removing owntracks-frontend-2.12.0.tar.gz
 -> Failed to install the following packages. Manual intervention is required:
owntracks-frontend - exit status 4