이 글의 성격은 무엇인가요?
질문 / 문제 해결
내용을 설명해주세요
SDK 2.x 로 올린 이후 yarn build 시에 ait 파일이 생성이 안됩니다.
react native 로 진행중입니다.
원래 잘 됐었는데…뭔가 팁이 있다면 부탁드립니다ㅠ
appName (선택)
careerday
질문 / 문제 해결
SDK 2.x 로 올린 이후 yarn build 시에 ait 파일이 생성이 안됩니다.
react native 로 진행중입니다.
원래 잘 됐었는데…뭔가 팁이 있다면 부탁드립니다ㅠ
careerday
안녕하세요 ![]()
어떤 에러가 나시는지 알 수 있을까요 ?
package.json 도 공유 부탁드립니다.
아무 에러도 나지 않고 그냥 얌전히 ait 가 생성이 되지 않고 끝납니다.
git:(main) ✗ yarn && yarn build
yarn install v1.22.18
[1/4] 🔍 Resolving packages...
warning Resolution field "@react-navigation/core@7.16.1" is incompatible with requested version "@react-navigation/core@^6.4.0"
warning Resolution field "@react-navigation/elements@2.9.5" is incompatible with requested version "@react-navigation/elements@^1.3.6"
warning Resolution field "@react-navigation/elements@2.9.5" is incompatible with requested version "@react-navigation/elements@1.3.9"
warning Resolution field "@react-navigation/native@7.1.28" is incompatible with requested version "@react-navigation/native@6.0.13"
warning Resolution field "@react-navigation/native-stack@7.12.0" is incompatible with requested version "@react-navigation/native-stack@6.9.0"
warning Resolution field "react-native-safe-area-context@5.6.2" is incompatible with requested version "react-native-safe-area-context@4.7.4"
success Already up-to-date.
✨ Done in 0.32s.
yarn run v1.22.18
$ granite build
2026-03-17 16:38:38.154 info [android] | 3302 Modules (2.32s) | 0 errors | 0 warnings
2026-03-17 16:38:38.164 info [ios] | 3302 Modules (2.33s) | 0 errors | 0 warnings
[AppsInToss] Sentry 구성이 감지됐어요. 정확한 오류 추적을 위해서는 배포가 끝난 뒤 다음 명령어로 소스맵을 업로드해 주세요.
ait sentry upload-sourcemap \
--app-name careerday \
--api-key <API_KEY> \
--deployment-id <DEPLOYMENT_ID>
✨ Done in 4.50s.
package.json 은 아래와 같습니다.
{
"name": "careerday-in-toss",
"private": true,
"scripts": {
"dev": "granite dev",
"build": "granite build",
"test": "jest --passWithNoTests",
"typecheck": "tsc --noEmit",
"lint": "eslint ."
},
"dependencies": {
"@apps-in-toss/framework": "2.0.6",
"@apps-in-toss/web-framework": "^1.6.2",
"@cometchat/chat-sdk-react-native": "4.0.6-beta1",
"@granite-js/native": "1.0.4",
"@granite-js/plugin-sentry": "1.0.4",
"@granite-js/react-native": "1.0.4",
"@react-native-async-storage/async-storage": "file:./src/lib/async-storage-shim",
"@sentry/react-native": "^7.8.0",
"@toss/tds-colors": "^0.1.0",
"@toss/tds-react-native": "2.0.2",
"axios": "^1.12.2",
"brick-module": "0.5.0",
"date-fns": "^4.1.0",
"date-fns-tz": "^3.2.0",
"es-hangul": "^2.3.8",
"react": "19.2.3",
"react-native": "0.84.0",
"react-native-image-picker": "^7.2.1",
"react-native-render-html": "^6.3.4"
},
"devDependencies": {
"@babel/core": "7.23.9",
"@babel/runtime": "7.18.9",
"@eslint/js": "^9.17.0",
"@granite-js/plugin-hermes": "1.0.4",
"@granite-js/plugin-router": "1.0.4",
"@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": "19.2.3",
"babel-preset-granite": "1.0.3",
"eslint": "^9.17.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"eslint-plugin-react": "^7.37.2",
"eslint-plugin-react-hooks": "^7.0.1",
"eslint-plugin-simple-import-sort": "^12.1.1",
"eslint-plugin-unused-imports": "^4.2.0",
"jest": "^29.7.0",
"prettier": "3.4.2",
"react-test-renderer": "19.2.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.0"
},
"resolutions": {
"@react-native-async-storage/async-storage": "file:./src/lib/async-storage-shim",
"react-native-safe-area-context": "5.6.2",
"@react-navigation/native": "7.1.28",
"@react-navigation/core": "7.16.1",
"@react-navigation/elements": "2.9.5",
"@react-navigation/native-stack": "7.12.0"
}
}
감사합니다!
package.json에
build 커맨드를 ait build로 변경 부탁드립니다.
as-is : granite build
to-be : ait build
해결된 것 같습니다! 감사합니다! ![]()