Bug 1328826 - lessc > 1.7.5 fails
Summary: lessc > 1.7.5 fails
Keywords:
Status: CLOSED DUPLICATE of bug 1324883
Alias: None
Product: Fedora
Classification: Fedora
Component: nodejs-less
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Stephen Gallagher
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-04-20 11:18 UTC by Matthias Runge
Modified: 2016-04-20 12:23 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-20 12:04:06 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.