Skip to content
This repository was archived by the owner on Jan 16, 2023. It is now read-only.
This repository was archived by the owner on Jan 16, 2023. It is now read-only.

ReferenceError: can't find variable require #31

@vinipachecov

Description

@vinipachecov

Hi there!

I was following the storybook tutorial but using it with react native. Is it working for RN?

  1. I installed require-context.macro
  2. I installed babel-plugin-macros
  3. Configured storybook to load stories

Here is my config file for storybook

image

image

My package.json

image

image

Steps to reproduce:

  • Create react native app with react-native init
  • Install and configure storybook
  • install require-context.macro
  • configure stories as in storybook tutorial
  • see error

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions