GNU bug report logs -
#35923
Minification of Javascript for r-shiny fails
Previous Next
Reported by: Roel Janssen <roel <at> gnu.org>
Date: Mon, 27 May 2019 10:25:02 UTC
Severity: normal
Done: Ricardo Wurmus <rekado <at> elephly.net>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your message dated Mon, 27 May 2019 22:11:03 +0200
with message-id <878sur1wvc.fsf <at> elephly.net>
and subject line Re: bug#35923: Minification of Javascript for r-shiny fails
has caused the debbugs.gnu.org bug report #35923,
regarding Minification of Javascript for r-shiny fails
to be marked as done.
(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)
--
35923: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35923
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
Dear guix,
It seems that the r-shiny package is not functioning correctly due to empty minified Javascript
files.
This is empty:
$ ls -lh ./site-library/shiny/www/shared/shiny.min.js
-r--r--r-- 6658 root root 0 Jan 1 1970 ./site-library/shiny/www/shared/shiny.min.js
While its unminified equivalent is definitely not empty:
$ ls -lh ./site-library/shiny/www/shared/shiny.js
-r--r--r-- 3 root root 229K Jan 1 1970 ./site-library/shiny/www/shared/shiny.js
Symlinking the unminified files to the minified files solves the problem. But for production use
I'd like to get the minification to work.
Is it a trivial thing to fix for someone more familiar with the minify-build-system?
Kind regards,
Roel Janssen
[Message part 3 (message/rfc822, inline)]
Hi Roel,
> It seems that the r-shiny package is not functioning correctly due to empty minified Javascript
> files.
>
> This is empty:
> $ ls -lh ./site-library/shiny/www/shared/shiny.min.js
> -r--r--r-- 6658 root root 0 Jan 1 1970 ./site-library/shiny/www/shared/shiny.min.js
Oh. This is now fixed with commit 8916034a34.
Problem was that uglify-js wasn’t available during minification. It
would have been nicer had the build phase failed.
--
Ricardo
This bug report was last modified 5 years and 361 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.