backend/node_modules/@nestjs/typeorm/dist/common/typeorm.utils.js:123 const generateString = () => crypto.randomUUID(); ^ ReferenceError: crypto is not defined at generateString (backend/node_modules/@nestjs/typeorm/dist/common/typeorm.utils.js:123:37)
내가쓰는 node버전이 18인데 해당 버전은 crypto을 지원하지 않아서 오류가 발생했다
20버전으로 바꾸니 잘 된다.
nvm install 20
nvm use 20
https://github.com/WalletConnect/walletconnect-utils/pull/208
fix(ci): resolve CI issues, npm audit fix, simplify dep management by bkrem · Pull Request #208 · WalletConnect/walletconnect-
Context The package-level lockfiles are redundant as the root level one is the authoritative lockfile, and we do not bundle lockfiles into our vendored packages, i.e. they're not consumed by p...
github.com
'Web > Node.js & Nest.js' 카테고리의 다른 글
[nestjs] 식으로 호출된 경우 메서드 데코레이터의 서명을 확인할 수 없습니다. 런타임에서는 2 인수를 사용하여 데코레이터를 호출하지만 데코레이터에는 3이(가) 필요합니다.ts(1241) (0) | 2025.01.26 |
---|---|
[리팩토링 - Node] 타입스크립트로 마이그레이션하며 소스 정리(진행 중) (0) | 2025.01.04 |
[centos7] Node 배포하기, 리액트와 연결하기 (2) | 2024.09.18 |
createConnection이 8시간마다 끊기는 문제 (0) | 2024.09.17 |
[Node]Like문 쿼리 조회하기 (0) | 2024.09.15 |