0
我需要幫助。我試圖安裝grunt-combine-media-queries:無法在Ubuntu上安裝grunt-combine-media-queries 14.04.1
npm install grunt-combine-media-queries --save
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: [email protected]
npm ERR! Linux 3.19.0-25-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "grunt-combine-media-queries" "--save"
npm ERR! node v6.6.0
npm ERR! npm v3.10.3
npm ERR! path /var/www/dev/htmlacademy/education.htmlacademy/less/test_area_less/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall chmod
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/dev/htmlacademy/education.htmlacademy/less/test_area_less/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv'
npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/dev/htmlacademy/education.htmlacademy/less/test_area_less/node_modules/npm/node_modules/request/node_modules/http-signature/node_modules/sshpk/bin/sshpk-conv'
npm ERR! enoent This is most likely not a problem with npm itself
npm ERR! enoent and is related to npm not being able to find a file.
npm ERR! enoent
有沒有解決方法?感謝您的回答!
您可以嘗試使用[--no-bin-links](https: //docs.npmjs.com/misc/config#bin-links)標誌。例如。 '$ npm install grunt-combine-media-queries --save --no-bin-links' – RobC
非常感謝!它確實有幫助! – dbehterev
因此,使用'--no-bin-links'標誌後_grunt-combine-media-queries_安裝並工作成功了嗎?如果你能確認,我會很好,如果成功的話我會發佈一個答案....不幸的是,我沒有訪問Ubuntu來親自測試它。 – RobC