FS#49297 - [nodejs-less] less compiler has optional dependency on 'request
Attached to Project:
Community Packages
Opened by Mladen Milinkovic (maxrd2) - Wednesday, 11 May 2016, 12:56 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Tuesday, 07 June 2016, 09:06 GMT
Opened by Mladen Milinkovic (maxrd2) - Wednesday, 11 May 2016, 12:56 GMT
Last edited by Massimiliano Torromeo (mtorromeo) - Tuesday, 07 June 2016, 09:06 GMT
|
Details
Description:
less compiler has optional dependency on 'request' but it can't be installed as arch package. Can you please provide it inside nodejs-less or as a separate package and make it an optional dependency. Additional info: local/nodejs-less 2.7.1-1 Steps to reproduce: Try compiling following less code: @import (less) url(http://example.com/somefile.less); It will fail with if npm 'request' package is not installed: FileError: optional dependency 'request' required to import over http(s) |
This task depends upon
Closed by Massimiliano Torromeo (mtorromeo)
Tuesday, 07 June 2016, 09:06 GMT
Reason for closing: Won't implement
Tuesday, 07 June 2016, 09:06 GMT
Reason for closing: Won't implement
It may be an optional dependency of another optional dependency. Anyway if it's not listed in less's package.json it won't be installed.
You may create a package on the AUR for nodejs-request and install it on your arch or report it upstream if you think it should be included by default but I won't modify the package.
[1] https://github.com/less/less.js/blob/master/package.json