簡體   English   中英

無法在Ubuntu 14.04.1上安裝grunt-combine-media-queries

[英]can't install grunt-combine-media-queries on Ubuntu 14.04.1

我需要幫助。 我嘗試安裝grunt-combine-media-queries:

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: fsevents@1.0.17
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標志進行安裝。 例如:

$ npm install grunt-combine-media-queries --save --no-bin-links

文檔引述如下:

設置為false使其不執行此操作。 這可以用於解決某些文件系統不支持符號鏈接的事實,即使表面上是Unix系統也是如此。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM