Nodejs-0.10.29-1 makes npm ignore ~/.npmrc

By default, npm globally installs packages to /usr/lib/node_modules/. By following the procedure in this SO post, I changed the default installation directory to ~/.npm-packages. The mentioned solution kept working until upgrading to nodejs-0.10.29-1.
The mentioned new version of npm seems to ignore the prefix parameter in ~/.npmrc which sets the default installation directory. Whenever I tried to install an npm package via npm install -g package_name with the new version, I got an error indicating that I am not allowed to write to /usr/lib/node_modules/ although I hadn't changed a thing in ~/.npmrc since upgrading to version 0.10.29-1.
Has anyone else experienced the same issue?
Last edited by Sir Sure E. Nuff (2014-06-18 19:43:06)

Hi there,
This has to do with the npm version installed on arch(1.4.14)(https://github.com/npm/npm/issues/5392). 1.4.16 seems to have this fixed. Just run with enough permissions:
npm install -g npm
Last edited by jvanveen (2014-06-19 13:58:06)

Similar Messages

  • Firefox pops up an error message on certain pages, all other browsers work fine, how can I make firefox ignore the "error" [e2219] css init error: ReferenceError: g is not defined

    Basically I want to replace the Ajax Control Toolkit Slider in favor of the Component One Studio for iPhone Slider for better mobile/desktop consistency (the ajax slider doesn't work well with iPhone). I created a simple page that works on every browser and platform (iPhone, Android, Mac, Windows) except Firefox, which fails on every platform. I have already tried disabling all plugins (safe mode) and clearing cache, I have also tried this with different versions of Firefox on different platforms. I posted this error on the Component One forum but since this only occurs with Firefox I believe this is a Firefox issue.
    I searched for this error on the forums and Google but didn’t get any results:
    ''[e2219] css init error: ReferenceError: g is not defined''
    The console has this message:
    ''[12:05:26.954] uncaught exception: [Exception... "prompt aborted by user" nsresult: "0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame :: resource:///components/nsPrompter.js :: openTabPrompt :: line 462" data: no]''
    You can see the error by visiting http://www.componentone.com/i/
    Visit the same URL with IE, Chrome or Safari and there is no error. If I click [OK] the page loads normally enough for me. Is there some JavaScript or CSS line I can put in the page to make Firefox ignore the error? If so that would be great because even if there is a fix put into Firefox itself there will be those millions of users out there that will not upgrade.

    A good place to ask advice about web development is at the MozillaZine "Web Development/Standards Evangelism" forum.
    *http://forums.mozillazine.org/viewforum.php?f=25
    The helpers at that forum are more knowledgeable about web development issues.<br>
    You need to register at the MozillaZine forum site in order to post at that forum.

  • Hi there, can anyone tell me how to make make Garageband ignore HDMI as an audio output-device on a 2013 Mac Mini? Now it keeps on prompting me: Do you want want to use the HDMI device (monitor without audio) for audio output? Thanks in advance, Grtz T.

    Hi there,
    Can anyone tell me how to make make Garageband ignore HDMI as an audio output-device on a 2013 Mac mini i7 using an Apogee jam as an input for bass and a Behringer USB DAC with RCA audio output? Now it keeps on prompting me: Do you want want to use the HDMI device (monitor without audio) for audio output? I'm also suffering massive audio lag issues with the Apogee jam after waking the mini from sleepmode, wich pretty much renders it useless.
    Thanks in advance,
    Grtz T.

    I think the easiest way to do this is to have the EyeTV app running in one user account and sent via HDMI to the TV, and use a separate user account for Screen Sharing. Both logins can be active at the same time and with Lion you can connect via screen sharing to which ever login you need.
    With regards to the Mac video resolution changing, when it is not the current input on your AV receiver. This is 'normal', if the Mac sees no signal it drops down the a lower level. What you need is to buy a HDMI Detective Plus which tricks the Mac in to always seeing a signal and hence it will not drop down the resolution. See http://www.gefen.com/kvm/dproduct.jsp?prod_id=8005
    The Mac mini does have an IR receiver. This can be used with the EyeTV app, iTunes, and similar. Yes I believe EyeTV would run for prolonged periods quite happily, it is has been around for a long time and had most of the rough edges polished off. However one issue you will have to deal with is that it does not automatically update its program guide data. For this you might have to write or modify an AppleScript. Elgato support or their user forums will be a lot of help.
    You can set EyeTV to convert recordings to an iTunes (Apple TV) compatible format and then delete them from EyeTV.
    The HDMI Detective should solve your handshaking problems.

  • How do I make Firefox ignore the "Use High Contrast" option in Windows?

    I am taking care of a Windows XP machine which is running in "High Contrast Mode" for accessibility reasons. This display mode is enabled via the Control Panel of Windows (Accessibility Options, Display, Use High Contrast) and it has major impact on how Firefox display web pages. What I want to do is make Firefox ''ignore'' this operating system option, so web pages will be rendered "normally", but keep Windows in High Contrast Mode.
    Is there any way I can make Firefox ignore this setting? I.e. run Windows in High Contrast Mode, but not Firefox?
    A similar questions has been discussed here:
    http://support.mozilla.com/en-US/kb/Website%20colors%20are%20wrong
    However, I don't want to disable High Contrast for Windows and the whole machine, just for Firefox.
    Thanks in advance
    Bounder of Adventure

    John,
    thanks for your comments. The computer is mainly used by a visually impaired person. She doesn't do much web surfing though and doesn't really need a high contrast web browser. If however a colleague wants to help her maintain the machine or quickly wants to look up something on the web for her, then it would be great if it was possible to access web pages "unfiltered", in their regular look and feel, as designed by the web author. In fact, the High Contrast Mode significantly changes the way web pages look, and sometimes screen elements needed for navigation etc. are suppressed or rendered invisible. (This, of course, is often related to poor web design, like graphical buttons or links with the actual label as a background image or without an ALT attribute, but unfortunately, vast parts of the web are not really "accessible", so accessibility will remain an issue for the browser as well.)
    Creating a separate user account certainly is an option, especially for shared machines, but it makes it more complicated to quickly jump in and give her a hand. That's why separate user accounts are not really popular here; instead, Opera was installed which does not adhere to the OS setting and therefore grants a neutral view to all web pages.
    Actually, when I started investigating on that issue, I was quite surprised that there was no option for this in Firefox, not even in "about:config". After all, Firefox obviously queries the OS for the Contrast setting and then chooses to render the page this or that way, so I thought they certainly implemented a flag or something to change the behavior. It seems however there is no such flag, is there? This distinction seems to be entirely hard-wired.
    I am not sure if this is the place for change requests, but if somebody stumbles upon this question, is there any chance to make this setting open to the public? Something like an option "accessibility.useoscontrastsetting" or so? This might also facilitate it to develop an add-on for on-demand switching between the two modes, and web designers could check more easily how their work looks for those with poor eyesight.
    Greetings,
    Bounder of Adventure

  • Can I make Genius ignore certain songs in my l

    Is there a way to make Genius ignore certain songs when creating playlists? For example, if I create a playlist based on "Adult Alternative" music, Genius will frequently select some of my off-beat Christmas music.

    I'm not sure that playlists take up much space on an iPod, so what about a duplicate of the playlist in question without the songs you don't want?

  • How make pacman ignore a package?

    alsa-lib is required for gcc-gcj.  Pacman wants to install alsa-lib-1.0.14-5.  But, I have already installed alsa-lib-1.0.15rc1 outside of pacman.  So, pacman doesn't think it's installed.  Is there a way to make pacman think it's installed?  Also, it would be good if it's ignored in future system updates too.
    Note: I looked at the pacman and pacman.conf man pages.  And tried IgnorePkg, which didn't do the job.
    Last edited by ristretto (2007-09-17 21:53:28)

    ristretto wrote:
    fwojciec wrote:Also, let me know when you are done with it or if you're not going to use it so I can remove that link.  Thanks.
    Thanks, I got it.  Was hoping for something a bit simpler, so will have to put this aside until I can spend more time on it.  I'm sure it's not complicate, once you understand it.    So, anyway, go ahead and remove it.
    Like I said - the easy workaround, for now at least, would be to try and install whatever package you're installing, see what dependencies it requires and wants to install, cancel and install the dependencies by hand (minus alsa-lib) and finally install the package with ignore dependencies option.
    As far as ABS/PKGBUILDs are concerned - they are one of the best, if not the best feature of Arch.  Indeed, they are not complicated, but you need to read the wiki and experiment a bit first before you'll get how they work...  It's definitely worth learning though, IMO, they are a very powerful tool (you can use them to customize packages, like this one, or a kernel for example, build your own packages and so forth).  Anyways, good luck.

  • How to make OWB ignore a field that is not mapped.

    Hi,
    We're using OWB 10.1.
    I'm just doing a simple load from a flat file to a regular table.
    I discovered that the data file is missing an entire field or column of data.
    The field is not necessary so I'm continuing the load.
    I just remapped the OWB map so it doesn't not pull data from the last field in the data file.
    When it created the control file to do the load, the last field that was unmapped in the OWB map was re-designated as 'DECIMAL EXTERNAL'.
    Then when the map runs to load the data, I get an error message of
    Record 1: Rejected - Error on table "STAGING"."TCMBBX", column "PAID_AMOUNT".
    Column not found before end of logical record (use TRAILING NULLCOLS)So it looks like OWB is still trying to include the last field in the load for some reason when I had unmapped the field in OWB.
    My question is how can one un-map a field or not map a field in OWB and then have OWB ignore the field when running the load?
    This is regarding removing the map line drawn from a field in the data file to a field in the staging table.
    Thanks!

    Hi,
       Declare a range as :
    ranges : r_hkont for bseg-hkont.
    fill in the values
    r_hkont-sign = 'I'.
    r_hkont-option = 'BT'.
    r_hkont-low = '26000000'.
    r_hkont--high = '2999999'.
    append r_hkont.
    Select sgtxt from bseg into text
    where bseg-hkont in r_hkont.
    Regards,
    Srini.

  • Make hald ignore a USB device

    I'm having a problem with hald and probing of my usb connected smartphone. The problem is that the probing causes the smartphone to attempt to sync with the host computer. I'm using synce to syncronize my smartphone but if fails to connect if hald is running and has provoked a connection attempt. Can I disable this behaviour for just one device (/dev/ipaq)?

    I've got a Windows Mobile smartphone (Samsung i700) that works pretty well with synce. It just refuses to work while hald is running. I  need hal because it makes my 6-in-1 card reader work correctly by probing for filesystems. I think that perhaps it's this probing behaviour that messes with the smartphone sync.

  • What makes Photoshop ignore my choice of destination folder?

    Hello, experts:
    I have been using Photoshop for basic editing for several years, now. For at least the last three years (whether I have used Photoshop CS5 or now, CS6), if I automate a batch of photos, going through the process of selecting the source folder, then the destination folder for the edited pictures, my choice of destination folder is ignored — the edited pictures end up in the source folder. Recently, they have even gone into a totally irrelevant folder. It was not always like this, but I now don't seem to be able to cure this annoying malfunction.
    Can anyone out there tell me how this may be put right?
    With thanks in anticipation of a helpful reply,
    True to form

    If using an action probably need more info on what action says for file saving.

  • Make JTable ignore button mnemonics?

    Hello,
    I'm creating a Swing app with a JTable and a JButton with a mnemonic. The app works as desired when I click on the button, but when I use the key combination for the mnemonic, any subsequent click on the table throws
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayStoreException: java.lang.String
         at javax.swing.JTable$1.setValueAt(JTable.java:476)My guess is that because the table is using the DefaultTableModel it interprets the keypress for the button as an attempt to edit the cell data. Is that correct?
    I suppose one solution would be to extend AbstractTableModel as described in the tutorial and prohibit cell editing. Is there simpler solution?
    Thanks in advance for any advice.
    --john
    import javax.swing.*;
    import javax.swing.table.*;
    import java.awt.*;
    import java.awt.event.*;
    /**  Skeleton GUI for grid-based games.
    *   GUI has a button bar, a status area, and a 2d playing area.
    *   The GUI will display the game and handle mouse clicks, dispatching
    *   them to the appropriate button or cell of the board.
    * @author JD
    * @version 1/14/2010
    public class GridDemo extends JFrame implements ActionListener
        /* Main components of the GUI */
        private Object[][] myBoard;
        private String[] columns = {"","","","","","","","","","",};
        private JLabel myStatus = new JLabel("0");
        private JTable table;
        private int accumulator;
        public GridDemo()
            super();
            myBoard = new Integer[10][10];
        public void layoutGUI()
            newGame();
            table = new JTable(myBoard,columns);
            // Define the layout manager that will control order of components
            getContentPane().setLayout(new BoxLayout(getContentPane(), BoxLayout.Y_AXIS));
            // Create a panel to hold the buttons
            JPanel buttonPane = new JPanel();
            JButton btnNew = new JButton("New Game");
            btnNew.setActionCommand("newgame");
            btnNew.setMnemonic('N');
            btnNew.addActionListener(this);
            buttonPane.add(btnNew);
            buttonPane.setAlignmentX(Component.CENTER_ALIGNMENT);
            getContentPane().add(buttonPane);
            // Create a panel for the status information
            JPanel statusPane = new JPanel();
            statusPane.add(myStatus);
            statusPane.setAlignmentX(Component.CENTER_ALIGNMENT);
            getContentPane().add(statusPane);
            // Define the characteristics of the table that shows the game board       
            table.setCellSelectionEnabled(false);
            table.setAlignmentX(Component.CENTER_ALIGNMENT);
            getContentPane().add(table);
            // Define the mouse listener that will handle player's clicks.
            table.addMouseListener(new MouseAdapter()
                public void mouseReleased(MouseEvent ev)
                    int col = table.getSelectedColumn();
                    int row = table.getSelectedRow();
                    // left mouse clicks add the cell value to the total
                    accumulator += (Integer) myBoard[row][col];
                    myBoard[row][col] = 0;
                    myStatus.setText("" + accumulator);
                    repaint();
            // And handle window closing events
            addWindowListener(new WindowAdapter()
                public void windowClosing(WindowEvent e)
                    System.exit(0);
        } // end layout
        /** Start a new game by putting new values in the board */
        private void newGame()
            Integer cellvalue = new Integer((int)(Math.random()*10));
            for (int i=0;i<10;i++)
                for (int j=0;j<10;j++)
                    myBoard[i][j] = new Integer(1+(int)(Math.random()*9));
            accumulator = 0;
            myStatus.setText("" + accumulator);
        // Handle button clicks
        public void actionPerformed(ActionEvent e)
            if ("newgame".equals(e.getActionCommand()))
                newGame();
            repaint();
        // Local main to launch the GUI
        public static void main(String[] args)
            GridDemo frame = new GridDemo();
            frame.layoutGUI();   // do the layout of widgets             
            // Make the GUI visible and available for user interaction
            frame.pack();
            frame.setVisible(true);
    }

    Thanks, that's good enough.
    --john                                                                                                                                                                                                                               

  • [SOLVED] How do I make AwesomeWM ignore Plasma

    Hi
    I just started using AwesomeWM with KDE. I am trying to get AwesomeWM to ignore Plasma. I found in the AwesomeWM Lua docs that a client (window) has a function 'unmanage' this sounds like what I need but I am having trouble getting it to work as I expect. The first thing I expect is that awful.client.moveresize function should not resize Plasma (panel or desktop). I should also not be able to close or minimize plasma. I tried adding the unmanage function to the awful.rules.rules table. This does not do what I expect.
    Here is what I tried:
    -- Try match name
    awful.rules.rules = {
    { rule = { name = "plasma-desktop"}, callback client.unmanage}}
    -- Try match class and maximise
    { rule = { class = "Plasma"}, properties = { type = "desktop",
    maximised_vertical = true,
    maximised_horizontal = true,}}
    Can this be done without having to learn Lua?
    PS: In case anyone is wondering, I am using Plasma because I like the notes plasmoid and the folder view. I also like being able to just right click and change wallpaper quickly or add widget. I also like how plasma looks (Gaia recycled theme). I couldn't get Unity 2D working.
    Last edited by lunamystry (2011-11-08 15:56:25)

    I think I solved it. I found you can use Hooks (awful.hooks). This is a bit of a trial and error at the moment (I have tried it, and I am now waiting for the error)
    function unmanage_plasma(c)
    If c.name:find("plasma") and c.type ~= "dock" then
    c:unmanage()
    end
    end
    awful.hooks.focus.register(unmanage_plasma)
    This seems to be working. I tried matching "plasma-desktop" that doesn't work. I don't know why. I also couldn't get client.add_signal("focus", unmanage_plasma) to work. I think using the focus hook may be causing my PC to freeze (or rather become unresponsive) randomly though. I am gonna maybe look for awesome docs that describe the hooks. I haven't found em yet.
    Hope this helps someone.
    Sent from my Nokia E63

  • Is there a way to make Siri ignore shared calendars when I ask what's on my schedule or when I schedule an event?

    My wife and I share each other's calendars with each other through iCloud. It's a great way (obviously) to see what we have going on for the day and avoid scheduling conflicts.
    When I ask Siri what's on my calendar, she treats my wife's shared calendar as my own as in she shows me both of our events. And when I schedule an event with Siri, she will tell me that I have conflicts based on my wife's calendar.
    Is there any way around this? A way to get Siri to understand that my wife's calendar is just for reference and does not contain my events?

    This has been an annoyance of mine for awhile.  I would love to be able to designate which calendars "count" when siri is thinking about me.

  • Import-csv how to make powershell ignore a line in a csv file if a column contains a certain value

    Basically I got a very basic script that uses a csv file to input values needed to remove people from a distro list. That part is working fine. I'd like to add to it's functionality so it can look at values in a certain column, and if any of those certain
    values are present, I want powershell to skip that line and not process it. For instance I have a column in the csv called Group. If I have a listing under Group that says ABC I want the script to skip that line and not try to process it. What could I insert
    into the script to acheive this?

    You're welcome. You can add to the if test with -and:
    Import-Csv .\groups.csv | ForEach {
    If ($_.Group -ne 'ABC' -and $_.Group -ne 'DEF') {
    Write-Output "Group is $($_.Group)"
    Write-Output "Name is $($_.Name)"
    Output:
    Group is GHI
    Name is Show Me
    groups.csv:
    Group,Name
    ABC,Skip Me
    DEF,Skip Me Too
    GHI, Show Me
    Don't retire TechNet! -
    (Don't give up yet - 13,085+ strong and growing)

  • How do i use one midi controller and ignore another in Mainstage 2.1?

    I am running Mainstage and Ableton Live in parallel and use two midi controllers. I would like the APC40 to just be recognized by Live, and my MPK49 to be recognized by Mainstage and Live. Right now, I get midi signal from Mainstage on both midi controllers and can't seem to figure out how to assign just Mainstage to just get midi input from the MPK49. Any ideas? Thanks.

    Yes, that worked a the device popups were set to all. Fixed that and moved on. Thanks! However another similar problem has come up...
    The sliders on the APC40 (which I just want to be recognized by Live), are affecting the Mainstage Channel Strips volume sliders. I can't seem to figure how to make Mainstage ignore this as all of the APC40 sliders are effecting Channel Strip 1. Thanks.

  • Ignore enduser/third party pricing condition in ISA

    Hi,
    Our customer has specific pricing conditions for some of their customers who have endusers for foreign trade. When one of these customers logs on to the webshop, they should only see their original prices from our customer.
    However, if the customer has an enduser for foreign trade in R/3, those prices are automatically chosen by ISA.
    I've understood that this happens in R/3 too, so when a customer's first enduser is added, a dummy enduser is added as well, in order to get a popup where you can choose which one to use. In ISA, the prices from the enduser with the lowest ID are displayed, so you don't have any possibility to choose.
    Does anyone know how/if one can make ISA ignore pricing conditions regarding enduser for foreign trade? I've read a LOT of documentation, but still don't know where to start in ISA - where/when are the prices "set"?
    I'm very grateful for any help I can get on this topic!
    //Ulrika

    Dear Anand,
    Try with,
    T. Code: ME11 - Create Info Records
    Maintain the same condition in the info-record. The price shall be picked up in the PO by the inforecord.
    Best Regards,
    Amit

Maybe you are looking for

  • Switch from MySQL to MS SQL Server, Query not working

    I'm sure there is a simple setting somewhere for this, but cannot seem to find it and really would appreciate some assistance. Have an application which uses JDBC to connect to a MySQL DB to run the following query without an issue: SELECT * FROM use

  • TS4291 iDisk error after Mountain Lion upgrade

    Having upgraded to Mountain Lion, I get this message: "There was a problem connecting to the server idisk.mac.com. Contact your system administrator for more information" each time I start the computer. I can find no trace of anything iDisk related l

  • Difference between 2 date variables

    I have a query that selects data based on : WHERE START_DATE >= &BEGIN AND start_date <= &END I need to find the difference between these 2 dates in order to use the result in a calculation in the totals area in a rtf I have, but don't know how to do

  • 4.2.1 breaks RAW format (Olympus E-410 - maybe other formats)

    Pre 4.2.1 I was able to import RAW files from my Olympus E-410 (Camera Kit and USB cable) and view them, edit them in Photogene, transfer them using Transfer, etc. I was also able to preview them and send them via USB to Aperture (2). Now I am unable

  • Help me? PLEASE!!! my screen has gone loopy!!!!!!

    hi , i was trying to adjust my appearance settings , and my monitor went blank, the green light on my monitor keeps flashing but nothing appears on my screen.. i have rebooted the computer but the same thing happens.. can anyone advise on what my opt