[Bug 894721] Review Request: nodejs-runforcover - Require plugin for JS code coverage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Product: Fedora
https://bugzilla.redhat.com/show_bug.cgi?id=894721

Jamie Nguyen <jamielinux@xxxxxxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamielinux@xxxxxxxxxxxxxxxx
                   |                            |g
           Assignee|nobody@xxxxxxxxxxxxxxxxx    |jamielinux@xxxxxxxxxxxxxxxx
                   |                            |g
              Flags|                            |fedora-review?

--- Comment #1 from Jamie Nguyen <jamielinux@xxxxxxxxxxxxxxxxx> ---
You need to add:

BuildRequires: npm(bunker)

And maybe add some "%global enable_tests" logic.


After making these changes, this error happens so you'll need some symlink
magic:

+ /usr/bin/node test/index.js
module.js:340
    throw err;
          ^
Error: Cannot find module 'uglify-js'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:362:17)
    at require (module.js:378:17)
    at Object.<anonymous> (/usr/lib/node_modules/burrito/index.js:1:76)
    at Module._compile (module.js:454:26)
    at Object.Module._extensions..js (module.js:472:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Module.require (module.js:362:17)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=ncsVotVniw&a=cc_unsubscribe
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review



[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]