본문 바로가기

기타222

NextJS를 vscode로 Debugging 하는 방법 .vscode/launch.json 생성 { "version": "0.2.0", "configurations": [ { "type": "node", "request": "attach", "name": "Next.js: debug full stack", "skipFiles": ["/**"], "port": 9229 } ] } package.json 수정 "scripts": { "dev": "cross-env NODE_OPTIONS='--inspect' next dev", ... }, 윈도우에서는 cross-env 설치 필요 npm i cross-env !!이제 환경 설정은 끝났음!! npm run dev 실행 후 vscode에서 Ctrl+Shift+D 클릭 해서 Run & Debug 로 이동 Next.js.. 2023. 4. 24.
NextJS 13 에서 DB 연동한 풀스택 만들때 에러 NextJS를 이용하여 mysql에 연동해서 만들때 npm run dev는 잘 작동 되나 npm run build는 ./node_modules/mysql/lib/Connection.js Module not found: Can't resolve 'net' https://nextjs.org/docs/messages/module-not-found Import trace for requested module: ./node_modules/mysql/index.js ./node_modules/mysql/lib/Connection.js Module not found: Can't resolve 'tls' https://nextjs.org/docs/messages/module-not-found Import trace f.. 2023. 3. 24.
애플 매직마우스 윈도우10에서 스크롤 작동 되게 하기 2022. 2. 8.
크롬 업데이트 실패(오류 코드: 0x80004005) https://portableapps.com/download Download PortableApps.com Platform 17.1.1 - Free App Store & Menu | PortableApps.com Platform 17.1.1 (Sep 09, 2020). Please donate. 400+ real apps (37GB), Over 940 million downloads New: FreeCAD (Sep 27, 2020) portableapps.com 1. 위 사이트에서 PortableApps을 받기 2. 크롬 브라우저 닫기 3. PortableApps 안에서 Chrome를 설치 해주면 최신으로 설치 됨 추가 다음날 다시 실행 해보니 다시 예전 버전으로 되어 있다. 모두 "사용 안 함"으로 변.. 2021. 1. 6.