Package Details: nodejs-nativefier 42.2.0-1

Git Clone URL: (read-only, click to copy)
Package Base: nodejs-nativefier
Description: Wrap web apps natively
Upstream URL:
Licenses: MIT
Submitter: rokoucha
Maintainer: lostkhaos
Last Packager: lostkhaos
Votes: 54
Popularity: 1.20
First Submitted: 2016-02-20 05:39
Last Updated: 2021-01-18 14:49

Sources (1)

Latest Comments

1 2 3 Next › Last »

lostkhaos commented on 2020-11-17 05:11

Folks on NPM 7, be aware that there's an upstream issue that breaks --prefix see here.

lostkhaos commented on 2020-11-17 05:08

@mxfm your issue is likely related to that bug then.

mxfm commented on 2020-11-17 04:51

@lostkhaos yes, I have npm 7.0.5-1

lostkhaos commented on 2020-11-14 16:19

Edit: If you're on NPM 7, this could be related to a bug upstream there.

Otherwise.. I'm honestly mystified how it fails to build in a clean environment for you but not for me. Does the tweak proposed by NobodyDBG fix the problem for you? I'll just fold it in if it fixes the problem for folks since I can't recreate it myself. Here's the Dockerfile I'm using to make sure my environment isn't accidentally fixing the problem:

FROM archlinux/base

# General setup
RUN pacman -Syu --noconfirm && pacman -S --needed --noconfirm base-devel
RUN useradd lowpriv -m
RUN echo 'lowpriv   ALL=(ALL) NOPASSWD: ALL' >> /etc/sudoers
USER lowpriv

# Build
RUN cd /tmp && \
    curl -LO && \
    tar -xzf nodejs-nativefier.tar.gz
RUN sudo pacman -S --noconfirm nodejs unzip jq npm
RUN cd /tmp/nodejs-nativefier && makepkg

mxfm commented on 2020-11-12 06:22

I cannot update the package either in my local environment or in clean chroot (via aurutils) because of error 'npm ERR! enoent ENOENT: no such file or directory, lstat '/build/nodejs-nativefier/pkg/nodejs-nativefier/usr''.

NobodyDBG commented on 2020-11-11 04:03

Npm wanted a update yesterday to update WhatsApp

lostkhaos commented on 2020-11-10 19:50

@damico: I've seen that error when mixing architectures (e.g. trying to run x86 ELF files on ARM).

@NobodyDBG: I don't get that error but I see some folks online also getting that issue (e.g. lerna).

Do you have any environment variables or etc that might be messing with npm? I just tested it in a clean environment with npm 6.14.8-2 (nodejs 15.1.0-1).

NobodyDBG commented on 2020-11-10 18:58

Hi. Sorry, I must modify your PKGBUILD to install the Update. Error: ==> Beginne package()... npm ERR! code ENOENT npm ERR! syscall lstat npm ERR! path /tmp/AUR/nodejs-nativefier/pkg/nodejs-nativefier/usr/lib npm ERR! errno -2 npm ERR! enoent ENOENT: no such file or directory, lstat '/tmp/AUR/nodejs-nativefier/pkg/nodejs-nativefier/usr/lib' npm ERR! enoent This is related to npm not being able to find a file. npm ERR! enoent

npm ERR! A complete log of this run can be found in: npm ERR! /tmp/AUR/nodejs-nativefier/src/npm-cache/_logs/2020-11-10T18_52_30_968Z-debug.log ==> FEHLER: Ein Fehler geschah in package().

To fix this error: package() { # Thanks jeremejevs and je-vv for the pointers on these! mkdir "$pkgdir/usr/" mkdir "$pkgdir/usr/lib" npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" "$srcdir/$_npmname-$pkgver.tgz"

damico commented on 2020-11-06 09:33

Hi, I'm getting this error:

==> Starting package()...
/usr/local/bin/node: /usr/local/bin/node: cannot execute binary file
==> ERROR: A failure occurred in package().
error making: nodejs-nativefier

Could you help me fix it?

schard commented on 2020-11-04 16:52

License is missing. Should be MIT according to upstream.