Docker 升级 npm v3 报错 cross-device link not permitted, rename
                                                            生活随笔
收集整理的這篇文章主要介紹了
                                Docker 升级 npm v3 报错 cross-device link not permitted, rename
小編覺得挺不錯的,現(xiàn)在分享給大家,幫大家做個參考.                        
                                報(bào)錯內(nèi)容
npm ERR! Linux 4.1.19-boot2docker npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "update" "-g" npm ERR! node v5.9.0 npm ERR! npm v3.7.3 npm ERR! path /usr/local/lib/node_modules/npm/node_modules/glob npm ERR! code EXDEV npm ERR! errno -18 npm ERR! syscall renamenpm ERR! EXDEV: cross-device link not permitted, rename '/usr/local/lib/node_modules/npm/node_modules/glob' -> '/usr/local/lib/node_modules/npm/node_modules/.glob.DELETE' npm ERR! npm ERR! If you need help, you may report this error at: npm ERR! <https://github.com/npm/npm/issues>npm ERR! Please include the following file with any support request: npm ERR! /var/www/npm-debug.log npm ERR! code 1解決方案:使用 curl 安裝
curl -L https://npmjs.org/install.sh | sh
總結(jié)
以上是生活随笔為你收集整理的Docker 升级 npm v3 报错 cross-device link not permitted, rename的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。
                            
                        - 上一篇: Ubuntu 14 查看 docker中
 - 下一篇: cenos 下的一些常用命令及技巧收集篇