% npx -v zsh: permission denied: npx % ll /usr/local/bin/npx /usr/local/lib/node_modules/npm/bin/npx-cli.js lrwxr-xr-x 1 root wheel 38 15 lug 19:10 /usr/local/bin/npx -> ../lib/node_modules/npm/bin/npx-cli.js -rw-r-xr-x 1 root wheel 177 14 lug 07:08 /usr/local/lib/node_modules/npm/bin/npx-cli.js % sudo chmod +x /usr/local/lib/node_modules/npm/bin/npx-cli.js % npx -v 9.2.0
A commit references this bug: Author: sunpoet Date: Wed Dec 6 17:42:24 UTC 2017 New revision: 455666 URL: https://svnweb.freebsd.org/changeset/ports/455666 Log: Fix npx permission - Bump PORTREVISION for package change PR: 223782 Reported by: Lapo Luchini <lapo@lapo.it> Changes: head/www/npm/Makefile head/www/npm/pkg-plist
Committed. Thanks!