[Pkg-javascript-devel] Bug#844075: Bug#844075: Bug#844075: leaflet: Please provide the latest Leaflet package including a node module

Pirate Praveen praveen at onenetbeyond.org
Thu Aug 23 09:57:06 BST 2018



On 2018, ഓഗസ്റ്റ് 23 1:15:17 PM IST, Andreas Tille <andreas at an3as.eu> wrote:
>Any news here?  I need to package r-cran-leaflet which has a code copy
>of leaflet 1.3.1.  I guess the recent upstream version 1.3.4 will be
>fine as well. 
>
>I gave the packaging a naive try imported the new version into leaflet
>Git[1] but ended up with:
>
> debian/rules build
>test -x debian/rules
>mkdir -p "."
>jake build
>jake aborted.
>Error: No Jakefile. Specify a valid path with -f/--jakefile, or place
>one in the current directory.
>    at api.fail (/usr/lib/nodejs/jake/api.js:326:18)
>   at EventEmitter.utils.mixin.run (/usr/lib/nodejs/jake/jake.js:317:9)
>(See full trace by running task with --trace)
>make: *** [debian/rules:32: build/libjs-leaflet] Error 1
>dpkg-buildpackage: error: debian/rules build gave error exit status 2
>I: copying local configuration
>E: Failed autobuilding of package
>
>
>Thus I will not push my poor naive changes (which was basically
>importing the new version and removing the patch which was trying to
>fix
>a not existing Jakefile).  I have no experience with JS and thus will
>not be of any help at all.

They moved their build system to rollup (it is already packaged). The new build command is,

rollup -c build/rollup-config.js

From, package.json  -> scripts -> build

I can help if you want to learn JS packaging. My plate is full with gitlab node dependencies, so can't take more.
-- 
Sent from my Android device with K-9 Mail. Please excuse my brevity.



More information about the Pkg-javascript-devel mailing list