[MacPorts] #33175: NPM doesn't install packages in the appropriate location

MacPorts noreply at macports.org
Tue Feb 7 10:34:27 PST 2012


#33175: NPM doesn't install packages in the appropriate location
--------------------------------+-------------------------------------------
 Reporter:  conradwt@…          |       Owner:  ciserlohn@…           
     Type:  defect              |      Status:  new                   
 Priority:  Normal              |   Milestone:                        
Component:  ports               |     Version:  2.0.3                 
 Keywords:                      |        Port:  npm                   
--------------------------------+-------------------------------------------

Comment(by ciserlohn@…):

 I can't reproduce the behaviour you described - neither using version
 1.1.0-2 nor using the current version 1.1.0-3_1. When looking at the
 output you provided I noticed that npm tried to install the package pubnub
 globally, even though you didn't specified the '-g'/'--globally' option.
 Perhaps you have enabled global installs by default? Please check your
 configuration:
 {{{
 $ npm get global
 }}}
 The output should be:
 {{{
 false
 }}}
 If its
 {{{
 true
 }}}
 change you configuration.
 Use
 {{{
 npm help config
 }}}
 to get an overview of the various configuration sources.

 Apart from that using sudo is mandatory if you install packages globally
 as it potentially affect all users on your system.

-- 
Ticket URL: <https://trac.macports.org/ticket/33175#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list