[Bug 1171230] Review Request: nodejs-registry-url - Get the set npm registry URL

bugzilla at redhat.com bugzilla at redhat.com
Fri Dec 19 12:02:30 UTC 2014


https://bugzilla.redhat.com/show_bug.cgi?id=1171230

Piotr Popieluch <piotr1212 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|nobody at fedoraproject.org    |piotr1212 at gmail.com
              Flags|                            |fedora-review-



--- Comment #2 from Piotr Popieluch <piotr1212 at gmail.com> ---
check fails in mock, can't find rc module while it should be installed. I don't
understand why it fails...


+ /usr/lib/rpm/nodejs-symlink-deps /usr/lib/node_modules --check
+ mocha

  ․․

  0 passing (17ms)
  2 failing

  1)  should get the npm registry URL globally:
     Error: Cannot find module 'rc'
      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> (/builddir/build/BUILD/package/index.js:2:18)
      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 Module.require (module.js:364:17)
      at require (module.js:380:17)
      at module.exports (/usr/lib/node_modules/require-uncached/index.js:14:12)
      at Context.<anonymous> (/builddir/build/BUILD/package/test.js:7:9)
      at callFn (/usr/lib/node_modules/mocha/lib/runnable.js:223:21)
      at Test.Runnable.run (/usr/lib/node_modules/mocha/lib/runnable.js:216:7)
      at Runner.runTest (/usr/lib/node_modules/mocha/lib/runner.js:374:10)
      at /usr/lib/node_modules/mocha/lib/runner.js:452:12
      at next (/usr/lib/node_modules/mocha/lib/runner.js:299:14)
      at /usr/lib/node_modules/mocha/lib/runner.js:309:7
      at next (/usr/lib/node_modules/mocha/lib/runner.js:247:23)
      at Object._onImmediate (/usr/lib/node_modules/mocha/lib/runner.js:276:5)
      at processImmediate [as _immediateCallback] (timers.js:345:15)


  2)  should get the npm registry URL locally:
     Uncaught Error: Cannot find module 'rc'
      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> (/builddir/build/BUILD/package/index.js:2:18)
      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 Module.require (module.js:364:17)
      at require (module.js:380:17)
      at module.exports (/usr/lib/node_modules/require-uncached/index.js:14:12)
      at /builddir/build/BUILD/package/test.js:13:10
      at Object.oncomplete (fs.js:107:15)


error: Bad exit status from /var/tmp/rpm-tmp.eCIlCn (%check)
    Bad exit status from /var/tmp/rpm-tmp.eCIlCn (%check)

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component


More information about the package-review mailing list