安裝git。 安裝最新版本的Bower。 NPM安裝-g涼亭 NPM安裝-g聚合物CLI 安裝這些一個 但 聚合物初始化 慶典:聚合物:找不到命令 我努力了這麼多次,但沒有解決這個錯誤,請解決這個錯誤 $ NPM安裝-g聚合物CLI NPM WARN棄用[email protected]:請升級到3.0.2 minimatch或更高,以避免正則表達式的DoS問題 NPM WARN棄用[email protected]:請升級到3.0.2 minimatch或更高以避免RegExp DoS問題 npm WARN不推薦使用[email protected]:graceful-fs v3.0.0,並且在節點版本> = v7.0之前將會失敗。請儘快更新至[email protected]^4.0.0。使用'npm ls graceful-fs'在樹中找到它。 npm WARN棄用[email protected]:lodash @ < 3.0.0不再維護。升級到[email protected]^4.0.0.0。 C:\ Users \ Haresh \ AppData \ Roaming \ npm ` - (空)polymer init bash:polymer:command not found
npm ERR! Windows_NT 6.1.7601 npm ERR! argv的 「C:\ Program Files文件\的NodeJS \ node.exe」 「C:\ Program Files文件\的NodeJS \ node_modules \故宮\ BIN \ NPM-cli.js」 「安裝」 「-g」, 「聚合物(CLI)」 NPM ERR !節點v6.9.1 npm ERR! npm v3.10.8 npm ERR!路徑C:\ Users \ Haresh \ AppData \ Roaming \ npm \ node_modules \ polymer-cli npm ERR!代碼EPERM npm ERR! errno -4048 npm ERR!系統調用重命名
npm ERR! Error:EPERM:operation not permitted,rename'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ node_modules \ polymer-cli' - >'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ no de_modules.polymer- cli.DELETE' npm ERR!在moveAway(C:\ Program Files \ nodejs \ node_modules \ npm \ lib \ install \ a ction \ finalize.js:38:5) npm ERR!在destStatted(C:\ Program Files \ nodejs \ node_modules \ npm \ lib \ instal l \ action \ finalize.js:27:7) npm ERR!在FSReqWrap.oncomplete(fs.js:123:15) npm ERR! npm ERR! Error:EPERM:operation not permitted,rename'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ node_modules \ polymer-cli' - >'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ no de_modules.polymer- cli.DELETE' npm ERR!在錯誤(本機) npm ERR! Error:EPERM:operation not permitted,rename'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ node_modules \ polymer-cli' - >'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ n ode_modules.polymer- cli.DELETE' npm ERR!在moveAway(C:\ Program Files \ nodejs \ node_modules \ npm \ lib \ install \ a ction \ finalize.js:38:5) npm ERR!在destStatted(C:\ Program Files \ nodejs \ node_modules \ npm \ lib \ instal l \ action \ finalize.js:27:7) npm ERR!在FSReqWrap.oncomplete(fs.js:123:15) npm ERR! npm ERR! Error:EPERM:operation not permitted,rename'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ node_modules \ polymer-cli' - >'C:\ Users \ Haresh \ AppData \ Roaming \ npm \ no de_modules.polymer- cli.DELETE' npm ERR!在錯誤(本機) npm ERR! npm ERR!請嘗試以root/Administrator身份再次運行此命令。
npm ERR!請包括以下任何支持請求的文件: npm ERR! C:\ Users \用戶Haresh \ NPM-調試。日誌 npm ERR!代碼1種
聚合物(Windows)中 –
怎麼樣在Mac聚合物 –