0
嘗試安裝聚合物CLI時出現此錯誤。每當我嘗試安裝它時,我都會繼續收到此信息。聚合物CLI - npm錯誤代碼1
sudo npm install --unsafe-perm -g polymer-cli
Password:
npm WARN deprecated [email protected]: ..psst! While Bower is maintained, we
recommend Yarn and Webpack for *new* front-end projects! Yarn's
advantage is security and reliability, and Webpack's is support for
both CommonJS and AMD projects. Currently there's no migration path but
we hope you'll help us figure out one.
npm WARN deprecated @types/[email protected]: See
https://github.com/DefinitelyTyped/DefinitelyTyped/issues/12826
npm ERR! code 1
npm ERR! Command failed: /usr/bin/git clone --depth=1 -q -b master
git://github.com/polymerelements/test-fixture.git
/Users/litsonthomas/.npm/_cacache/tmp/git-clone-eddd277b
npm ERR! /Users/litsonthomas/.npm/_cacache/tmp/git-clone-eddd277b/.git:
Permission denied
npm ERR!
npm ERR! A complete log of this run can be found in:
npm ERR! /Users/litsonthomas/.npm/_logs/2017-06-22T17_39_34_600Z-
debug.log
我是聚合物的新手,我不知道哪裏出錯!
你能指定你的npm版本嗎? –
npm版本是5.0.3 –