이 글의 성격은 무엇인가요?
질문 / 문제 해결
내용을 설명해주세요
빌드시 오류가 납니다 ㅜㅜ
node 24.14.0
Mac RN
lineone@testui-MacBookPro appin_studio_rn % npm run build
> build
> ait build
Failed to find Response internal state key
Unknown Syntax Error: Unsupported option name ("--no-cache").
$ granite build
Internal Error: granite build failed: npx granite build --no-cache
at RNBuildStrategy.build (file:///Users/lineone/Documents/GitHub/appin_studio_rn/node_modules/@apps-in-toss/cli/dist/index.js:1131:15)
{
"name": "appin-studio-rn",
"private": true,
"scripts": {
"dev": "granite dev",
"build": "ait build",
"test": "jest --passWithNoTests",
"typecheck": "tsc --noEmit",
"lint": "eslint ."
},
"dependencies": {
"@apps-in-toss/framework": "^2.0.5",
"@apps-in-toss/web-framework": "^2.0.5",
"@granite-js/native": "1.0.4",
"@granite-js/react-native": "1.0.4",
"@toss/tds-react-native": "2.0.2",
"brick-module": "0.5.0",
"react": "19.2.3",
"react-native": "0.84.0"
},
"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-plugin-react": "^7.37.2",
"jest": "^29.7.0",
"prettier": "3.4.2",
"react-test-renderer": "19.2.3",
"typescript": "^5.8.3",
"typescript-eslint": "^8.31.0"
}
}
npm run dev 로 디버깅은 잘했는데 빌드에서 오류가 나네요.
PC에서도 동일한 오류가 나고
build 삭제, node_modules 삭제, 업그레이드 다시 시도 등 여러 시도를 해봤는데 안되네요..
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@apps-in-toss/ait-format@1.0.0',
npm warn EBADENGINE required: { node: '>=24' },
npm warn EBADENGINE current: { node: 'v20.19.5', npm: '10.8.2' }
npm warn EBADENGINE }
노드 24 미만은 안되는 것 같고, 24, 25 lts 시도해 봤습니다.
한참 고민했는데 해결이 안되서 혹시 같이 봐주실 수 있을지 글올립니다.