You are not logged in.

#1 2024-07-15 19:03:48

tapia
Member
Registered: 2013-03-13
Posts: 58

Problem creating PKGBUILD for Node app (files exist in filesystem)

Hi all,

I am maintaining a small Node package named "bibtex-tidy" [0], however, I am really not an expert with these type of applications and I currently have the problem that the generated package contains some files that are owned by other node packages. Here is a small example of those files:

bibtex-tidy: /usr/lib/node_modules/root/.travis.yml exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/LICENSE exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/README.md exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/defaults.js exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/index.js exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/node_modules/.bin/network-address exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/node_modules/inherits/LICENSE exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/node_modules/inherits/README.md exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/node_modules/inherits/inherits.js exists in filesystem (owned by gulp)
bibtex-tidy: /usr/lib/node_modules/root/node_modules/inherits/inherits_browser.js exists in filesystem (owned by gulp)

I have followed the packaging guide for Node packages [1], but there must be something missing there in order to correctly handle this. Any suggestions as to how to fix this issue?

Thanks!

[0] https://aur.archlinux.org/packages/bibtex-tidy
[1] https://wiki.archlinux.org/title/Node.j … guidelines

Last edited by tapia (2024-07-15 19:05:38)

Offline

#2 2024-07-15 20:09:19

gromit
Package Maintainer (PM)
From: Germany
Registered: 2024-02-10
Posts: 555
Website

Re: Problem creating PKGBUILD for Node app (files exist in filesystem)

Offline

#3 2024-07-15 20:53:06

tapia
Member
Registered: 2013-03-13
Posts: 58

Re: Problem creating PKGBUILD for Node app (files exist in filesystem)

Thanks for that reference!

Offline

Board footer

Powered by FluxBB