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

Bug#844186: RFH: libjs-handlebars -- need help in modifying grunt to build libjs-handlebars (and other modules with Gruntfile.js)



On Sun, 13 Nov 2016 10:13:46 +0530 Pirate Praveen <praveen@debian.org>
wrote:
> To be able to build libjs-handlebars from handlebars node module, we
> need to modify grunt.

libjs-handlebars$ grunt --verbose
Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...ERROR
Loading "Gruntfile.js" tasks...ERROR
>> Error: Unable to read "package.json" file (Error code: MODULE_NOT_FOUND).
>>   at Object.util.error (/usr/lib/nodejs/grunt-legacy-util/index.js:54:39)
>>   at Object.file.read (/usr/lib/nodejs/grunt/lib/grunt/file.js:235:22)
>>   at Object.file.readJSON (/usr/lib/nodejs/grunt/lib/grunt/file.js:241:18)
>>   at Object.module.exports (/home/pravi/forge/debian/git/pkg-javascript/libjs-handlebars/Gruntfile.js:5:21)
>>   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:425:26)
>>   at Object.Module._extensions..js (module.js:432:10)
>>   at Module.load (module.js:356:32)
>>   at Function.Module._load (module.js:311:12)
>>   at Function.Module.runMain (module.js:457:10)
>>   at startup (node.js:136:18)
>>   at node.js:972:3

No tasks specified, running default tasks.
Running tasks: default
Warning: Task "default" not found. Use --force to continue.

Aborted due to warnings.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: