[Bug 238204] www/npm: Please add the correct python2 path

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed May 29 07:30:43 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238204

            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 at FreeBSD.org
          Reporter: yuri at freebsd.org
             Flags: maintainer-feedback?(sunpoet at FreeBSD.org)
          Assignee: sunpoet at FreeBSD.org

This line:
> lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:  var python = 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 
> gyp ERR! stack Error: Can't find Python executable "/usr/local/bin/python2", you can set the PYTHON env variable.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list