La versione web di quest’app non compila

Di solito importa moduli disponibili solo su telefono. Apri l’app in Expo Go con il QR della Preview per il funzionamento completo.

Dettagli
npx expo export --platform web --output-dir /tmp/atlas-expo-dev/1796205430154-web è uscito con 1
React Compiler enabled
Starting Metro Bundler
Static rendering is enabled. Learn more: https://docs.expo.dev/router/reference/static-rendering/
Web node_modules/expo-router/entry.js ▓▓▓░░░░░░░░░░░░░ 21.3% ( 6/13)
λ node_modules/expo-router/node/render.js ▓▓░░░░░░░░░░░░░░ 13.4% (14/47)
Web node_modules/expo-router/entry.js ▓▓▓░░░░░░░░░░░░░ 22.1% (102/280)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓░░░░░░░░░░ 41.6% (294/456)
Web node_modules/expo-router/entry.js ▓▓▓▓▓░░░░░░░░░░░ 33.2% (219/380)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓▓▓░░░░░░░░ 50.6% (399/561)
Web node_modules/expo-router/entry.js ▓▓▓▓▓▓▓░░░░░░░░░ 46.7% (495/745)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓▓▓▓░░░░░░░ 61.7% (685/934)
Web node_modules/expo-router/entry.js ▓▓▓▓▓▓▓▓▓▓░░░░░░ 62.9% ( 806/1016)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓▓▓▓░░░░░░░ 61.7% ( 949/1224)
Web node_modules/expo-router/entry.js ▓▓▓▓▓▓▓▓▓▓░░░░░░ 63.5% ( 846/2772)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓▓▓▓▓░░░░░░ 64.3% (2407/3002)
Web node_modules/expo-router/entry.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓░░ 93.0% (2769/2871)
λ node_modules/expo-router/node/render.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ 96.1% (2958/3018)
λ Bundling failed 26585ms node_modules/expo-router/node/render.js (3309 modules)
Error: Importing native-only module "react-native/Libraries/Utilities/codegenNativeComponent" on web from: node_modules/@stripe/stripe-react-native/lib/commonjs/specs/NativeAuBECSDebitForm.js

Import stack:

 node_modules/@stripe/stripe-react-native/lib/commonjs/specs/NativeAuBECSDebitForm.js
 | import "react-native/Libraries/Utilities/codegenNativeComponent"
           ^ Importing react-native internals is not supported on web.

 node_modules/@stripe/stripe-react-native/lib/commonjs/components/AuBECSDebitForm.js
 | import "../specs/NativeAuBECSDebitForm"

 node_modules/@stripe/stripe-react-native/lib/commonjs/index.js
 | import "./components/AuBECSDebitForm"

 app/_layout.tsx
 | import "@stripe/stripe-react-native"

 app (require.context)