- Notifications
You must be signed in to change notification settings - Fork 13.4k
Description
Prerequisites
- I have read the Contributing Guidelines.
- I agree to follow the Code of Conduct.
- I have searched for existing issues that already report this problem, without success.
Ionic Framework Version
v7.x
Current Behavior
TS2739: Type '{ children: Element[]; }' is missing the following properties from type 'Pick<IonRouterOutlet & { basePath?: string | undefined; ref?: Ref | undefined; ionPage?: boolean | undefined; } & IonicReactProps & Omit<...>, "aria-busy" | ... 253 more ... | "ionPage">': onPointerEnterCapture, onPointerLeaveCapture
Expected Behavior
Build successfully
Steps to Reproduce
ionic start myApp blank --type react --template typescript
npm run build
- failed
Code Reproduction URL
https://codesandbox.io/p/sandbox/dazzling-cache-5snljk
Ionic Info
[WARN] Error loading @capacitor/ios package.json: Error: Cannot find module '@capacitor/ios/package.json'
Require stack: - xxx/.nvm/versions/node/v20.10.0/lib/node_modules/@ionic/cli/lib/project/index.js - xxx/.nvm/versions/node/v20.10.0/lib/node_modules/@ionic/cli/lib/index.js - xxx/.nvm/versions/node/v20.10.0/lib/node_modules/@ionic/cli/index.js - xxx/.nvm/versions/node/v20.10.0/lib/node_modules/@ionic/cli/bin/ionic
Ionic:
Ionic CLI : 7.2.0 (xxx/.nvm/versions/node/v20.10.0/lib/node_modules/@ionic/cli)
Ionic Framework : @ionic/react 7.8.0
Capacitor:
Capacitor CLI : 5.7.3
@capacitor/android : 5.7.3
@capacitor/core : 5.7.3
@capacitor/ios : not installed
Utility:
cordova-res : not installed globally
native-run : 2.0.1
System:
NodeJS : v20.10.0 (xxx/.nvm/versions/node/v20.10.0/bin/node)
npm : 10.2.3
OS : macOS Unknown
Additional Information
No response