callstack / callstack/react-native-pager-view

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

Aperta
#490 1 commento 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
3.4k
Fork
476
Merge medio
10g 21h
PR unite (30g)
2

Descrizione

## 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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
javascript, react-native
Ambito
mobile
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.