Hi Ben, This tripped me up too when packaging something that needed the system-wide installed Tasks.
See if this helps: https://wiki.debian.org/grunt Ross On 12/01/2017 05:18 AM, Ben Finney wrote: > Howdy all, > > I am attempting to satisfy the build dependencies for a package using > Grunt as its build system. The Grunt task is not finding the plug-ins > installed by the Debian packages for those plug-ins. > > The ‘Gruntfile.js’ (attached to this message) > > > declares these plug-in > dependencies with: > > grunt.loadNpmTasks('grunt-contrib-concat'); > grunt.loadNpmTasks('grunt-contrib-uglify'); > > which are then referenced in the task definition: > > grunt.registerTask('default', ['connect', 'watch']); > grunt.registerTask('build', ['concat', 'uglify']); > > So, I have these build dependencies in ‘debian/control’ (attached to > this message) > > > : > > Build-Depends: > grunt, > node-grunt-contrib-concat, > node-grunt-contrib-uglify, > debhelper (>= 10~) > > and those packages are installed: > > $ aptitude search 'grunt-contrib' | grep '^i' > i A node-grunt-contrib-concat - Concatenate files > i A node-grunt-contrib-uglify - Minify JavaScript files with UglifyJS > > Yet, with those packages installed, Grunt complains the libraries are > not installed: > > $ grunt build > >> Local Npm module "grunt-contrib-concat" not found. Is it installed? > >> Local Npm module "grunt-contrib-uglify" not found. Is it installed? > Warning: Task "concat" not found. Use --force to continue. > > Aborted due to warnings. > > What have I done wrong? How is the Debian ‘grunt’ package not finding > Grunt libraries installed by other Debian packages? > > >
-- Pkg-javascript-devel mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-javascript-devel
