折旧警告悬挂vue应用程序构建

发布于 2025-02-01 04:00:38 字数 1060 浏览 0 评论 0原文

我收到了很多折旧警告与悬挂我的应用程序构建的各种CSS问题有关的。

这是构建悬挂之前的最后一个。

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(24, $fortnightly-font-size) or calc(24 / $fortnightly-font-size)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
39 │     'size': #{24 / $fortnightly-font-size}rem,
   │               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/vue-cli-plugin-vuetify-preset-fortnightly/preset/variables.scss 39:15  @import
    stdin 1:9                                                                           root stylesheet

⠙  Building for production...Warning: 13 repetitive deprecation warnings omitted.

Warning: 24 repetitive deprecation warnings omitted.

⠴  Building for production...Warning: 13 repetitive deprecation warnings omitted.

⠇  Building for production...

此过程在这一点上只是悬挂。即使离开30分钟后,它也无能为力。

我以前有警告,但他们从未阻止npm run build完成。

如果有人对如何克服这一问题有任何指导,我将非常感激。

I am getting a plethora of Deprecation Warnings related to various CSS issues that are hanging my app build.

Here is the last one before the build hangs.

Deprecation Warning: Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.

Recommendation: math.div(24, $fortnightly-font-size) or calc(24 / $fortnightly-font-size)

More info and automated migrator: https://sass-lang.com/d/slash-div

   ╷
39 │     'size': #{24 / $fortnightly-font-size}rem,
   │               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
    node_modules/vue-cli-plugin-vuetify-preset-fortnightly/preset/variables.scss 39:15  @import
    stdin 1:9                                                                           root stylesheet

⠙  Building for production...Warning: 13 repetitive deprecation warnings omitted.

Warning: 24 repetitive deprecation warnings omitted.

⠴  Building for production...Warning: 13 repetitive deprecation warnings omitted.

⠇  Building for production...

The process just hangs at this point. It does nothing even after being left for 30 minutes plus.

I have had warnings before but they never blocked the npm run build from completing.

If anyone has any pointers on how to get past this I'd be very grateful.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文