| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
- 템플릿
- 개발
- Bloc
- 퇴근길
- DART
- virtualmachine
- C언어
- 인프라
- 가상머신
- 개발기
- VMware
- FreeBSD
- Flutter
- 일상
- 주유소
- VM
- 휘발류
- 오토바이
- 리눅스
- 잡담
- 오블완
- podman
- 객체지향프로그래밍
- Linux
- K&R
- 연습문제
- node.js
- 에러
- 티스토리챌린지
- ubuntu
- Today
- Total
목록node.js (3)
그냥저냥
실행 중에 새로운 에러님이 나를 반겨주셨다. 이 부분도 해결된 것 같았다.make-hash.js:3 Uncaught ReferenceError: Buffer is not defined at ./node_modules/pbkdf2/node_modules/create-hash/make-hash.js (make-hash.js:3:1) at options.factory (react refresh:37:1) at __webpack_require__ (bootstrap:22:1) at fn (hot module replacement:61:1) at hotRequire (react refresh:20:1) at ./node_modules/pbkdf2/node_modules/create..
1. 어떤 상황일까?Typescript로 작성된 소스 코드를 받게 되었다. 컨테이너로 빌드한 후 아래의 환경에 따라 API Endpoint가 다르게 설정되어야 한다. 현재 작은 규모지만, 개발환경과 운영환경을 분리가 되어 있다.개발환경 - development운영환경 - production그렇기 때문에 이를 위해 dotenv를 의존성에 추가하고 Typescript 빌드 명령어를 실행했다.$ npm run build 2. 만남아니나 다를까, 에러님이 나를 찾아왔다. 대략 내용은 dotenv에서 경로를 찾을 수 없다는 이야기였다.이럴때 보면 에러님은 나를 너무 좋아하는 것 같다. ㅠ.ㅠ이렇게 불쑥 나를 찾아온다면, 민망해서 몸둘바를 모르겠다.> frontend@0.1.0 build> react-scripts..
프로젝트를 다운로드 받아 의존성 설치를 위해 아래의 명령어를 실행했다.$ npm i 어김없이 나타나는 에러 메시지!npm warn ERESOLVE overriding peer dependencynpm warn While resolving: @mui/base@5.0.0-beta.27npm warn Found: @types/react@19.1.10npm warn node_modules/@types/reactnpm warn @types/react@"^19.1.10" from the root projectnpm warn 9 more (@mui/private-theming, @mui/system, @mui/types, ...)npm warnnpm warn Could not resolve dependency..