@lostkhaos yes, I have npm 7.0.5-1
Search Criteria
Package Details: nodejs-nativefier 52.0.0-1
Package Actions
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: | 78 |
Popularity: | 0.58 |
First Submitted: | 2016-02-20 05:39 (UTC) |
Last Updated: | 2023-09-08 19:23 (UTC) |
Dependencies (4)
- nodejs (nodejs-lts-fermiumAUR, nodejs-gitAUR, python-nodejs-wheelAUR, nodejs-lts-hydrogen, nodejs-lts-iron)
- unzip (unzip-natspecAUR, unzip-zstdAUR)
- jq (jq-gitAUR, jaq-binAUR) (make)
- npm (corepackerAUR, python-nodejs-wheelAUR) (make)
Required by (76)
- airdroid-nativefier (make)
- amie-nativefier (make)
- anthropic-claude-nativefier (make)
- ase-assistant (make)
- astiga-nativefier (make)
- bilibili-nativefier (make)
- bnf-nativefier (make)
- brfares-nativefier (make)
- campuswire-nativefier (make)
- chatgpt-nativefier (make)
- chess.com (make)
- citymapper-nativefier (make)
- codingame-nativefier (make)
- dashlane-nativefier (make)
- db-web-bahnhofstafel (make)
- deezer-nativefier (make)
- devdocs-nativefier (make)
- discord-nativefier (make)
- drawio-nativefier (make)
- duolingo-nativefier (make)
- Show 56 more...
Sources (1)
mxfm commented on 2020-11-17 04:51 (UTC)
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
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