분류 전체보기
-
NEST.js 엉뚱한 오류 표시 / Error: Failed to load chunk server/chunks/[root of the server]__e2c15e5b._.js프로그래밍/개발메모 2025. 3. 28. 22:50
void 문법 오류이긴한데. ..Promise 에서 void 리턴을 넣는 간단한 문법 오류인데 chunks 가 어쩌구 하는 문제라고하는 복잡한 내용이 나옵니다.에러 문구만 봐선 어디가 오류인지 알 수 없습니다. Runtime ErrorError: Failed to load chunk server/chunks/[root of the server]__e2c15e5b._.jsCall Stack26Show 23 ignore-listed frame(s)loadChunkPath.next\server\chunks\[turbopack]_runtime.js (486:15)Object.loadChunk.next\server\chunks\[turbopack]_runtime.js (462:16)Object..next\ser..
-
gcloud auth print-access-token 저장을 했는데 UTF-16 으로 저장되었다. / UTF16 문자열 읽기 / node.js프로그래밍/개발메모 2025. 3. 27. 21:37
황당한 오류에 빠져서 2시간을 날렸습니다.gcloud auth print-access-token > token이런식으로 구글 클라우드 토큰은 token 이라는 파일로 저장하려고 했습니다.얼핏 포면 문제 없어 보입니다. 그런데 나중에 알고 보니하단에 UTF-16 으로 되어있습니다.console.log 로 찍어보면 앞글자 두글자가 뭔가 생겨있고 글자는 보입니다.그런데 이걸 json 으로 변환하면 보이지 않던 글자가 들어가게굅니다.UTF-16 은 2바이트에 한글자기 때문에 전통적인 방식으로 읽으면 글자 사이에 0 이 들어가 있는거랑 같습니다.이걸 json 은 데이터 유실이 없어야해서 전부 표기해버린 것이죠방법은 간단합니다.const token_bin = fs.readFileSync("token", "utf16..
-
구글 OAuth2 실패 / 액세스 차단됨: 승인 오류프로그래밍/개발메모 2025. 3. 27. 00:14
로컬에서 express 콜백을 받으려고 하면바로 되진 않는다.승인된 URL 에 추가해야한다. 순서1. 구글 클라우드 OAuth2 동의화면 을 간다. - 링크: https://developers.google.com/workspace/guides/configure-oauth-consent?hl=ko - 이 페이지에서 [브랜딩으로 이동] 버튼을 찾아 누르세요2. 클라이언트 클릭3. OAuth2 작업중인 클라이언트 이름 클릭4. 아래쩍에 있습니다.메뉴 찾기 더럽게 힘듭니다.IAM 쪽으로 들어가면 이 메뉴가 나오지 않더군요 앗Google에서 확인하지 않은 앱저는 클라이언트 만들고 바로 테스트하니뭔가 부족했는지 경고창이 떴습니다.우측 하단에 [고급] 누르면 설문을 해서 강제로 넘어갈 수 있습니다...
-
유니티 플레이 에서 웹 빌드 올리기 쉽게 도와줍니다 / Unity Play 서비스 소개프로그래밍/개발메모 2025. 3. 26. 13:15
제가 올린 게임들: https://play.unity.com/en/user/5ea53514-df56-4e49-9931-a08d1813a7cc thisisonelee on Unity PlayThe place for aspiring game creators to share their latest Unity creation. Gain inspiration and find thousands of FPS, Karting, 2D Platformer and other creations with Unity. No experience needed, just jump in for the chance to be featured!play.unity.com여러가지 올려볼 에정입니다. Unity Play 는 기본 기능은학습영상을..
-
Error: The default Firebase app already exists. / NEXT.js 구조상 초기화가 두번 가능합니다. / firebase firestore프로그래밍/개발메모 2025. 3. 25. 19:59
에러 본문:Error: The default Firebase app already exists. This means you called initializeApp() more than once without providing an app name as the second argument. In most cases you only need to call initializeApp() once. But if you do want to initialize multiple apps, pass a second argument to initializeApp() to give each app a unique name. 이미 초기화가 되어 있어서 할 수 없다는 내용입니다.Next.js 구조상 초기화 부분이 두번올 호출될 ..