react native를 사용중입니다.
해당 주소는 webview 개발 docs인데, react native modal은 준비되어있지 않은걸가요?
npm install @toss-design-system/mobile @toss-design-system/mobile-ait @emotion/react@^11 react@^18 react-dom@^18
사용하면 에러가 뜹니다 ㅠ
"dependencies": {
"@granite-js/plugin-router": "0.1.21",
"@apps-in-toss/framework": "^1.0.0",
"@granite-js/react-native": "0.1.21",
"react": "18.2.0",
"react-native": "0.72.6",
"react-native-vector-icons": "^10.3.0"
},
"devDependencies": {
"@granite-js/plugin-router": "0.1.21",
"@babel/core": "7.23.9",
"@babel/plugin-proposal-class-properties": "^7.16.7",
"@babel/plugin-proposal-nullish-coalescing-operator": "^7.16.7",
"@babel/plugin-proposal-numeric-separator": "^7.16.7",
"@babel/plugin-proposal-optional-chaining": "^7.16.7",
"@babel/plugin-proposal-private-methods": "^7.18.6",
"@babel/plugin-proposal-private-property-in-object": "^7.18.6",
"@babel/plugin-transform-flow-strip-types": "^7.19.0",
"@babel/preset-env": "^7.15.0",
"@babel/preset-react": "^7.16.7",
"@babel/preset-typescript": "^7.16.7",
"@babel/runtime": "7.18.9",
"@testing-library/react-native": "^12.9.0",
"@types/babel__core": "^7.20.5",
"@types/jest": "^29.5.14",
"@types/node": "^22.10.2",
"@types/react": "18.3.3",
"@types/react-native-vector-icons": "^6.4.18",
"jest": "^29.7.0",
"react-test-renderer": "18.2.0",
"typescript": "^5.8.3"
}
npm error code ERESOLVE
npm error ERESOLVE could not resolve
npm error
npm error While resolving: passox-koreanhistory@undefined
npm error Found: react@18.2.0
npm error node_modules/react
npm error peer react@"18.2.0" from @apps-in-toss/analytics@1.1.3
npm error node_modules/@apps-in-toss/analytics
npm error @apps-in-toss/analytics@"1.1.3" from @apps-in-toss/framework@1.1.3
npm error node_modules/@apps-in-toss/framework
npm error @apps-in-toss/framework@"^1.0.0" from the root project
npm error peer react@"*" from @apps-in-toss/framework@1.1.3
npm error node_modules/@apps-in-toss/framework
npm error @apps-in-toss/framework@"^1.0.0" from the root project
npm error 53 more (@granite-js/image, @granite-js/jest, ...)
npm error
npm error Could not resolve dependency:
npm error @toss-design-system/mobile@"*" from the root project
npm error
npm error Conflicting peer dependency: react@18.3.1
npm error node_modules/react
npm error peer react@"^18.3.1" from react-dom@18.3.1
npm error node_modules/react-dom
npm error react-dom@"^18" from the root project
npm error peer react-dom@"^16.8.3 || ^17 || ^18" from @toss-design-system/mobile@2.1.0
npm error node_modules/@toss-design-system/mobile
npm error @toss-design-system/mobile@"*" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /Users/sol/.npm/_logs/2025-09-24T01_46_46_802Z-eresolve-report.txt
npm error A complete log of this run can be found in: /Users/sol/.npm/_logs/2025-09-24T01_46_46_802Z-debug-0.log
