Package Details: nodejs-nativefier 52.0.0-1

Git Clone URL: https://aur.archlinux.org/nodejs-nativefier.git (read-only, click to copy)
Package Base: nodejs-nativefier
Description: A command-line tool to easily create a desktop app for any web site with minimal configuration
Upstream URL: https://github.com/nativefier/nativefier/
Licenses: MIT
Submitter: rokoucha
Maintainer: frealgagu
Last Packager: frealgagu
Votes: 74
Popularity: 0.034802
First Submitted: 2016-02-20 05:39 (UTC)
Last Updated: 2023-09-08 19:23 (UTC)

Pinned Comments

frealgagu commented on 2021-11-08 15:02 (UTC)

I maintain the latest built package at:

https://github.com/frealgagu/archlinux.nodejs-nativefier/releases

Latest Comments

« First ‹ Previous 1 2 3 4 5 Next › Last »

mxfm commented on 2020-11-17 04:51 (UTC)

@lostkhaos yes, I have npm 7.0.5-1

lostkhaos commented on 2020-11-14 16:19 (UTC) (edited on 2020-11-14 16:32 (UTC) by lostkhaos)

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 https://aur.archlinux.org/cgit/aur.git/snapshot/nodejs-nativefier.tar.gz && \
    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 (UTC) (edited on 2020-11-12 06:22 (UTC) by mxfm)

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 (UTC) (edited on 2020-11-11 04:09 (UTC) by NobodyDBG)

Npm wanted a update yesterday to update WhatsApp

lostkhaos commented on 2020-11-10 19:50 (UTC) (edited on 2020-11-10 19:51 (UTC) by lostkhaos)

@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 (UTC)

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 (UTC) (edited on 2020-11-06 09:45 (UTC) by damico)

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().
Aborting...
error making: nodejs-nativefier

Could you help me fix it?

schard commented on 2020-11-04 16:52 (UTC)

License is missing. Should be MIT according to upstream.

lostkhaos commented on 2020-06-29 14:47 (UTC)

@nahuelwexd added!

nahuelwexd commented on 2020-06-28 16:23 (UTC)

This package needs unzip as dependency :) Or you will get an Error during build. Run with --verbose for details. Error: spawn unzip ENOENT when using it