[Pkg-javascript-devel] Bug#927254: closed by Xavier Guimard <yadd at debian.org> (Bug#927254: fixed in vue-router.js 3.0.7+ds-1)

Dmitry Bogatov KAction at debian.org
Wed Jul 17 15:57:24 BST 2019


control: reopen -1
control: tags -1 -pending

[2019-07-10 19:39] "Debian Bug Tracking System" <owner at bugs.debian.org>
> This is an automatic notification regarding your Bug report
> which was filed against the libjs-vue-router package:
>
> #927254: libjs-vue-router: ships node module instead of browser one
>
> It has been closed by Xavier Guimard <yadd at debian.org>.

It did not solve my problem. Package libjs-vue-router still provides files
in /usr/share/nodejs:

	$ dpkg -L libjs-vue-router |grep -v /usr/share/doc
	/.
	/usr
	/usr/share
	/usr/share/javascript
	/usr/share/nodejs
	/usr/share/nodejs/vue-router
	/usr/share/nodejs/vue-router/dist
	/usr/share/nodejs/vue-router/dist/vue-router.common.js
	/usr/share/nodejs/vue-router/dist/vue-router.esm.browser.js
	/usr/share/nodejs/vue-router/dist/vue-router.esm.browser.min.js
	/usr/share/nodejs/vue-router/dist/vue-router.esm.js
	/usr/share/nodejs/vue-router/dist/vue-router.js
	/usr/share/nodejs/vue-router/dist/vue-router.min.js
	/usr/share/nodejs/vue-router/package.json
	/usr/share/javascript/vue-router

Futhermore, it bundles dangling symlink:

	$ readlink /usr/share/javascript/vue-router
	../../lib/nodejs/vue-router/dist

When I try to build Laminar with
"/usr/share/nodejs/vue-router/dist/vue-router.min.js"

I get following error:

	Uncaught TypeError: t is not a function
	    at L (vue-router.min.js:6)
	    at t (vue-router.min.js:6)
	    at vue-router.min.js:6
	    at Array.forEach (<anonymous>)
	    at T (vue-router.min.js:6)
	    at $ (vue-router.min.js:6)
	    at new vt (vue-router.min.js:6)
	    at app.js:796

Interestingly, if I use /usr/share/nodejs/vue-router/dist/vue-router.js,
I get another (already seen) error:

	Uncaught TypeError: Regexp is not a function
	    at compileRouteRegex (vue-router.min.js:formatted:783)
	    at addRouteRecord (vue-router.min.js:formatted:722)
	    at vue-router.min.js:formatted:686
	    at Array.forEach (<anonymous>)
	    at createRouteMap (vue-router.min.js:formatted:685)
	    at createMatcher (vue-router.min.js:formatted:859)
	    at new VueRouter (vue-router.min.js:formatted:1947)
	    at app.js:796
-- 
Note, that I send and fetch email in batch, once in a few days.
Please, mention in body of your reply when you add or remove recepients.



More information about the Pkg-javascript-devel mailing list