callstack / callstack/react-native-pager-view

PagerView.js: Attempted import error: 'react-native' does not contain a default export (imported as 'ReactNative').

Open
#490 1 comment 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3.4k
Forks
476
Avg merge
10d 21h
Merged PRs (30d)
2

Description

## Environment
React native
React native web

## Description

Getting error when run on web
Attempted import error: 'react-native' does not contain a default export (imported as 'ReactNative').

## Reproducible Demo

Clone https://github.com/alphazhe/AntDesignTest/tree/master
`git checkout master`
`yarn`
`yarn web`

Perform above steps to run above project

Please help me solve this issue.

Contributor guide

Open the contributing guide

Research direction

Start with PagerView.js and reproduce the report using the linked demo with `yarn` and `yarn web`; inspect the React Native import associated with the reported default-export error. Done means the web demo runs without this import error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.