Date: Wed, 29 May 2019 07:30:34 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 238204] www/npm: Please add the correct python2 path Message-ID: <bug-238204-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D238204 Bug ID: 238204 Summary: www/npm: Please add the correct python2 path Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: yuri@freebsd.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Assignee: sunpoet@FreeBSD.org This line: > lib/node_modules/npm/node_modules/node-gyp/lib/configure.js: var python = =3D gyp.opts.python || process.env.PYTHON || 'python2' defaults to the wrong python executable name: python2 It should be python2.7 This causes failures like this: > gyp ERR! configure error=20 > gyp ERR! stack Error: Can't find Python executable "/usr/local/bin/python= 2", you can set the PYTHON env variable. --=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-238204-7788>