Skip to content

Cannot run the mobile app in dev mode #103

@syauqy

Description

@syauqy

I can't run the mobile app in dev mode.

When I run the npm run mobile:dev
The local server is failed to run.

> [email protected] mobile:dev
> node update-capacitor-config.js && IS_NATIVE=true IS_MOBILE_DEV=true npm run build && IS_NATIVE=true IS_MOBILE_DEV=true npx cap sync && npm run dev

Updated capacitor.config.ts with server.url: http://10.0.13.170:3000

> [email protected] build
> next build

   ▲ Next.js 15.2.4
   - Environments: .env.local

   Creating an optimized production build ...
 ✓ Compiled successfully
   Skipping linting
 ✓ Checking validity of types    

> Build error occurred
[Error: Page "/[...all]" is missing "generateStaticParams()" so it cannot be used with "output: export" config.]

Do you know how to solve it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions