【问题标题】:Nextjs emotionjs and vercel: Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: ..@emotion/cache/node_modules/stylis/dist/stylis.umd.jsNextjs Emotionjs 和 vercel:错误 [ERR_REQUIRE_ESM]:必须使用导入来加载 ES 模块:..@emotion/cache/node_modules/stylis/dist/stylis.umd.js
【发布时间】:2020-10-13 00:23:50
【问题描述】:

这是部署时的消息。 复制此错误的代码:http://github.com/jojonicho/next-apollo-codegen

【问题讨论】:

  • 我也不理解盲目的投票。这是我几天来一直面临的一个严重问题。

标签: next.js emotion vercel


【解决方案1】:

我通过完全删除 next.config.js 文件来修复它。

【讨论】:

    猜你喜欢
    • 2021-06-18
    • 1970-01-01
    • 2020-09-06
    • 2021-10-01
    • 2022-12-17
    • 2022-11-11
    • 2021-12-01
    • 1970-01-01
    • 2021-09-06
    相关资源
    最近更新 更多