Skip to content

[Bug] npm run export: Server Actions are not supported with static export. #6154

@weinalen

Description

@weinalen

📦 部署方式

Other

📌 软件版本

2.15.8

💻 系统环境

Windows

📌 系统版本

Windows 11

🌐 浏览器

Edge

📌 浏览器版本

Edge Newest

🐛 问题描述

hi all,

I am going to compile NextChat locally and package it using Tauri.

My compilation environment is: Windows.

I successfully ran the following commands:

npm run dev

npm run app:dev

But when I executed npm run export, the following error occurred:

Server Actions are not supported with static export.

I know that NextJS must use export mode when packaging with Tauri.

Am I missing something?

📷 复现步骤

No response

🚦 期望结果

No response

📝 补充信息

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions