package: node-requirejs
version: 2.2.0-1
severity: serious
control: block 847367 by -1
justification: makes the package unusable

The error I get when trying to use it from grunt-contrib-requirejs
(available in
git+ssh://git.debian.org/git/pkg-javascript/node-grunt-contrib-requirejs.git)
is given below

node-grunt-contrib-requirejs$ grunt --verbose
Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Initializing config...OK

Registering "tasks" tasks.
Loading "requirejs.js" tasks...ERROR
>> Error: Cannot find module 'requirejs'
>>   at Function.Module._resolveFilename (module.js:325:15)
>>   at Function.Module._load (module.js:276:25)
>>   at Module.require (module.js:353:17)
>>   at require (internal/module.js:12:17)
>>   at Object.module.exports
(/home/pravi/forge/debian/git/pkg-javascript/node-grunt-contrib-requirejs/tasks/requirejs.js:12:19)
>>   at loadTask (/usr/lib/nodejs/grunt/lib/grunt/task.js:318:10)
>>   at /usr/lib/nodejs/grunt/lib/grunt/task.js:354:7
>>   at Array.forEach (native)
>>   at loadTasks (/usr/lib/nodejs/grunt/lib/grunt/task.js:353:11)
>>   at Task.task.loadTasks (/usr/lib/nodejs/grunt/lib/grunt/task.js:365:5)
>>   at Object.module.exports
(/home/pravi/forge/debian/git/pkg-javascript/node-grunt-contrib-requirejs/Gruntfile.js:67:9)
>>   at loadTask (/usr/lib/nodejs/grunt/lib/grunt/task.js:318:10)
>>   at Task.task.init (/usr/lib/nodejs/grunt/lib/grunt/task.js:437:5)
>>   at Object.grunt.tasks (/usr/lib/nodejs/grunt/lib/grunt.js:111:8)
>>   at Object.module.exports [as cli]
(/usr/lib/nodejs/grunt/lib/grunt/cli.js:27:9)
>>   at Object.<anonymous> (/usr/lib/nodejs/grunt-cli/bin/grunt:49:20)
>>   at Module._compile (module.js:409:26)
>>   at Object.Module._extensions..js (module.js:416:10)
>>   at Module.load (module.js:343:32)
>>   at Function.Module._load (module.js:300:12)
>>   at Function.Module.runMain (module.js:441:10)
>>   at startup (node.js:139:18)
>>   at node.js:974:3

Also consider using pkg-javascript alioth repo for this package (there
is a repo there, but it is outdated), so we can fix these kind of issues
faster.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to