Bug 1328826

Summary: lessc > 1.7.5 fails
Product: [Fedora] Fedora Reporter: Matthias Runge <mrunge>
Component: nodejs-lessAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: jamielinux, mrunge, sgallagh, tchollingsworth
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-04-20 12:04:06 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matthias Runge 2016-04-20 11:18:49 UTC
Description of problem:
lessc -v

module.js:340
    throw err;
          ^
Error: Cannot find module 'less-node/fs'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/usr/lib/node_modules/less/bin/lessc:4:10)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)


Version-Release number of selected component (if applicable):
all versions higher than nodejs-less >1.7.5  
(from f23, f24...)

nodejs-less 1.7.5 works

Comment 1 Stephen Gallagher 2016-04-20 12:04:06 UTC

*** This bug has been marked as a duplicate of bug 1324883 ***

Comment 2 Stephen Gallagher 2016-04-20 12:05:16 UTC
https://bodhi.fedoraproject.org/updates/FEDORA-2016-6bb8d63389 should be the fix for it. Would you mind testing and giving karma? Then I'll push it to stable.

Comment 3 Matthias Runge 2016-04-20 12:14:44 UTC
Thanks, 
nodejs-less.noarch 2.6.1-2.fc23.1 
fixes the issue for me.
Is .1 at in dist a typo?

Comment 4 Stephen Gallagher 2016-04-20 12:23:52 UTC
(In reply to Matthias Runge from comment #3)
> Thanks, 
> nodejs-less.noarch 2.6.1-2.fc23.1 
> fixes the issue for me.
> Is .1 at in dist a typo?

No, there was a bug in 2.6.1-1.fc23 that affected only systems with Node.js 0.10.x, so I did a fix just for F23 (and didn't want to rebuild F24+ since there would be no change). Packaging guidelines require the use of a minor version after the .fcNN part in order to guarantee that upgrades are clean.