Why does npm give status 8 exit error when trying to install bower windows 8.1 Pro, & how to fix?-Collection of common programming errors

  • Here’s the fix, although I’m not certain as to how it fixed the issue, or the root cause.

    C:\Users\xx\desktop [master +1 ~0 -0 !]> npm owner ls bower-require
    npm http GET https://registry.npmjs.org/bower-require
    npm http 304 https://registry.npmjs.org/bower-require
    allproperty 
    C:\Users\xx\desktop [master]> node --version
    v0.10.22
    C:\Users\xx\desktop [master]> npm rebuild
    C:\Users\xx\desktop [master]> npm install
    
    // SNIPPED A BUNCH OF GETS, 200's, & 304's //
    
    > [email protected] postinstall C:\Users\xx\desktop\node_modules\grunt-autoprefixer
    >
    
    // SNIPPED A BUNCH OF GETS, 200's, & 304's //    
    
    [email protected] node_modules\grunt-contrib-coffee
    ??? [email protected]
    
    [email protected] node_modules\grunt-release
    ??? [email protected]
    ??? [email protected]
    
    [email protected] node_modules\grunt-autoprefixer
    ??? [email protected] ([email protected], [email protected])
    
    [email protected] node_modules\grunt-contrib-watch
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected])
    ??? [email protected] ([email protected])
    
    [email protected] node_modules\grunt-contrib-uglify
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected])
    
    [email protected] node_modules\grunt
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    
    [email protected] node_modules\grunt-contrib-less
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected])
    C:\Users\xx\desktop [master]> git status
    # On branch master
    nothing to commit, working directory clean
    C:\Users\xx\desktop [master]> npm install bower
    
    // SNIPPED A BUNCH OF GETS, 200's, & 304's //    
    
    [email protected] node_modules\bower
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ??? [email protected]
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected])
    C:\Users\xx\desktop [master]>
        C:\Users\xx\desktop> npm install -g bower
    C:\Users\xx\AppData\Roaming\npm\bower -> C:\Users\xx\AppData\Roaming\npm\node_modules\bower\bin\bower
    [email protected] C:\Users\xx\AppData\Roaming\npm\node_modules\bower
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected]
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected]
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected], [email protected])
    ??? [email protected] ([email protected])
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected], [email protected])
    ??? [email protected]
    ??? [email protected] ([email protected], [email protected])
    ??? [email protected] ([email protected], [email protected], [email protected])
    C:\Users\xx\desktop> bower --version
    1.2.7