Date: Tue, 30 Jan 2018 13:43:14 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 225562] www/npm: cannot execute node-gyp Message-ID: <bug-225562-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D225562 Bug ID: 225562 Summary: www/npm: cannot execute node-gyp Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: bhughes@freebsd.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org I've installed the latest npm (5.6.0_1) and am trying to build a native mod= ule, but it fails when executing node-gyp: $ npm i unix-dgram > unix-dgram@2.0.1 install /usr/home/bhughes/asdf/node_modules/unix-dgram > node-gyp rebuild sh: node-gyp: Permission denied This is because the node-gyp executables do not have the x bit set: $ ll /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/nod= e-gyp -rw-r--r-- 1 root wheel - 3596 Dec 15 12:44 /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js -rw-r--r-- 1 root wheel - 172 Nov 28 03:37 /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin/nod= e-gyp Setting +x manually on both of these files allows me to build native modules again. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-225562-13>