[
https://issues.apache.org/jira/browse/YUNIKORN-2506?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17834929#comment-17834929
]
Hsien-Cheng Huang edited comment on YUNIKORN-2506 at 4/8/24 2:18 PM:
---------------------------------------------------------------------
[~wilfreds] I've run the `make` command, but I have not encountered the same
warning as you do. Actually, a very different warning.
```
Warning:
/home/username/Documents/github/yunikorn-web/src/app/utils/common.util.ts
depends on 'moment'. CommonJS or AMD dependencies can cause optimization
bailouts.
For more info see:
[https://angular.io/guide/build#configuring-commonjs-dependencies]
```
Can you look into it for me? Or provide if you still encounter the warning?
Thanks!
ps. I've looked into [the
code]([https://github.com/search?q=repo%3Aapache%2Fyunikorn-web%20fontsource-roboto&type=code]),
the problem is still there. So, it's probably an env problem.
I'm using a Ubuntu 22.04 LTS, and node 21.
was (Author: JIRAUSER304421):
[~wilfreds] I've run the `make` command, but I have not encountered the same
warning as you do. Actually, a very different warning.
```
Warning:
/home/username/Documents/github/yunikorn-web/src/app/utils/common.util.ts
depends on 'moment'. CommonJS or AMD dependencies can cause optimization
bailouts.
For more info see:
[https://angular.io/guide/build#configuring-commonjs-dependencies]
```
Can you look into it for me? Thanks!
ps. I've looked into [the
code]([https://github.com/search?q=repo%3Aapache%2Fyunikorn-web%20fontsource-roboto&type=code]),
the problem is still there. So, it's probably an env problem.
I'm using a Ubuntu 22.04 LTS, and node 21.
> fix deprecation warning for fontsource-roboto
> ---------------------------------------------
>
> Key: YUNIKORN-2506
> URL: https://issues.apache.org/jira/browse/YUNIKORN-2506
> Project: Apache YuniKorn
> Issue Type: Improvement
> Components: webapp
> Reporter: Wilfred Spiegelenburg
> Assignee: Hsien-Cheng Huang
> Priority: Minor
> Labels: newbie
>
> When running make on the web UI project a deprecation warning is printed for
> the fonts we include:
> {code:java}
> WARN deprecated [email protected]: Package relocated. Please install
> and migrate to @fontsource/roboto. {code}
> Move to {{@fontsource/roboto}} to fix the warning
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]