Package Details: nodejs-jsonlint 1.6.3-5

Git Clone URL: https://aur.archlinux.org/nodejs-jsonlint.git (read-only, click to copy)
Package Base: nodejs-jsonlint
Description: Validate JSON
Upstream URL: https://zaa.ch/jsonlint}/
Licenses: MIT
Submitter: None
Maintainer: alerque
Last Packager: alerque
Votes: 20
Popularity: 0.094387
First Submitted: 2012-05-06 20:24 (UTC)
Last Updated: 2024-03-28 00:59 (UTC)

Pinned Comments

alerque commented on 2020-02-21 13:28 (UTC)

PSA: I've started hosting this and also many other packages I maintain in the AUR as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

Latest Comments

1 2 Next › Last »

Grelek commented on 2020-02-21 13:40 (UTC)

@caleb Hey, thanks! Sorry for reporting false issue. You were right, I've had an error in my shell config, however it was not that I had . in PATH but I actually had some directories doubled. Removing the duplicates resolved the issue and improved my shell configuration. Thank you. :-)

alerque commented on 2020-02-21 13:28 (UTC)

PSA: I've started hosting this and also many other packages I maintain in the AUR as prebuilt packages in my repository for those that want to install them using pacman without messing around with building from the AUR.

alerque commented on 2020-02-21 13:26 (UTC)

@Grelek That is an issue with your shell configuration, not this package. You shouldn't put . or any form of it in your path. You need to fix your shell's rc file to either not include that path or setup a way to override the find error (there is a way, but I'm not documenting it here because it isn't safe to use). Note you can verify whether you got it fixed by just running find /tmp or similar, you don't have to try compiling this package.

Grelek commented on 2020-02-21 12:48 (UTC)

Hey, I'm getting following error when building this package.

find: The current directory is included in the PATH environment variable, which is insecure in combination with the -execdir action of find. Please remove the current directory from your $PATH (that is, remove ".", doubled colons, or leading or trailing colons)

alerque commented on 2020-02-19 05:26 (UTC)

@applebloom Fixed, sorry about that.

applebloom commented on 2020-02-18 14:23 (UTC)

The file /usr/lib/node_modules/jsonlint/package.json has a syntax error on line 13 (the line ends with a colon where it shouldn't). This causes the whole command to throw an exception.

<deleted-account> commented on 2018-06-21 07:56 (UTC)

You can safely remove the "rmdir" from the PKGBUILD.

<deleted-account> commented on 2018-06-21 07:53 (UTC)

For some reason i cannot push the fixed PKGBUILD to the git repository.

You can however edit PKGBUILD and remove the "rmdir" line which isn't useful anymore.

Kunda commented on 2018-06-20 18:17 (UTC)

==> Making package: nodejs-jsonlint 1.6.3-1 (Wed 20 Jun 2018 02:15:39 PM EDT)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading jsonlint-1.6.3.tgz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 19747  100 19747    0     0   172k      0 --:--:-- --:--:-- --:--:--  172k
==> Validating source files with sha256sums...
    jsonlint-1.6.3.tgz ... Passed
==> Extracting sources...
==> Entering fakeroot environment...
==> Starting package()...
npm WARN deprecated nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info.
/tmp/pamac-build-beast/nodejs-jsonlint/pkg/nodejs-jsonlint/usr/bin/jsonlint -> /tmp/pamac-build-beast/nodejs-jsonlint/pkg/nodejs-jsonlint/usr/lib/node_modules/jsonlint/lib/cli.js
+ jsonlint@1.6.3
added 8 packages from 5 contributors in 1.029s
rmdir: failed to remove '/tmp/pamac-build-beast/nodejs-jsonlint/pkg/nodejs-jsonlint/usr/etc': No such file or directory
==> ERROR: A failure occurred in package().
    Aborting...

justin8 commented on 2015-05-22 00:02 (UTC)

This needs a make dep on npm now: Notice: npm is not shipped with nodejs since 0.12.2-4, please install npm manually if you need it. Optional dependencies for nodejs npm: nodejs package manager /startdir/PKGBUILD: line 19: npm: command not found Cheers