Skip to content

asyncstorage on web: error reading from async storage ReferenceError: window is not defined #780

@dannyhw

Description

@dannyhw

Describe the bug
A clear and concise description of what the bug is.

When you run on the web you might see this error

storybook-log: error reading from async storage ReferenceError: window is not defined

A workaround is to use single output for the expo web bundle

  "web": {
    "favicon": "./assets/favicon.png",
    "bundler": "metro",
    "output": "single"
  },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    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