FS#65456 - nodejs-less 3.11.0-1 broken with Error: Cannot find module 'tslib'

Attached to Project: Arch Linux
Opened by Gene (GeneC) - Tuesday, 11 February 2020, 14:46 GMT
Last edited by freswa (frederik) - Tuesday, 11 February 2020, 21:24 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:After update to 3.11.0-1 lessc throws an error. e.g.

lessc -h

Error: Cannot find module 'tslib'
Require stack:
- /usr/lib/node_modules/less/bin/lessc
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:980:15)
at Function.Module._load (internal/modules/cjs/loader.js:862:27)
at Module.require (internal/modules/cjs/loader.js:1040:19)
at require (internal/modules/cjs/helpers.js:72:18)
at Object.<anonymous> (/usr/lib/node_modules/less/bin/lessc:9:13)
at Module._compile (internal/modules/cjs/loader.js:1151:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1171:10)
at Module.load (internal/modules/cjs/loader.js:1000:32)
at Function.Module._load (internal/modules/cjs/loader.js:899:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/lib/node_modules/less/bin/lessc' ]
}

Previous version (3.10.3-2) worked fine.
This task depends upon

Closed by  freswa (frederik)
Tuesday, 11 February 2020, 21:24 GMT
Reason for closing:  Fixed
Additional comments about closing:  3.11.1
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 11 February 2020, 18:20 GMT
The issue should be moved to "Community Packages"
Comment by Gene (GeneC) - Tuesday, 11 February 2020, 18:36 GMT
Agreed - under flyspray category - there was no Community Packages option that I saw when I filed the bug - can you help on that?
Comment by Massimiliano Torromeo (mtorromeo) - Tuesday, 11 February 2020, 19:31 GMT
I can't, sorry. This can be closed anyway since it's fixed in 3.11.1
Comment by Gene (GeneC) - Tuesday, 11 February 2020, 19:39 GMT
Confirm Fixed in 3.11.1
Thanks1

Loading...