Skip to content

Web Bundling failed: "failed to deserialize; expected an object-like struct named Specifier, found ()" #431

Description

@dacoto

What happened?

Failed to run npm run web (expo start --web)

Logs for your project will appear below. Press Ctrl+C to exit.
Web Bundling failed 513ms node_modules/expo-router/entry.js (1551 modules)
 ERROR  Error: failed to deserialize; expected an object-like struct named Specifier, found ()
    at compileVirtual (/Users/dacoto/Workspace/Transportam/app/node_modules/uniwind/dist/metro/metro-transformer.cjs:1539:25)
    at async Object.transform (/Users/dacoto/Workspace/Transportam/app/node_modules/uniwind/dist/metro/metro-transformer.cjs:1628:23)

Steps to Reproduce

  1. Install uniwind with expo@55
  2. Run web (npm run web)

Snack or Repository Link (Optional)

https://github.com/dacoto/transportam-app/tree/expo-router-uniwind

Uniwind version

uniwind pro: 1.0.0-rc.4

React Native Version

0.83.2

Platforms

Web

Expo

Yes

Additional information

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions