profile
Digital Artist가 되고 싶은 초보 개발자

node:internal/process/esm_loader:94 internalBinding('errors').triggerUncaughtException

Node.js에서 import 키워드로 프로젝트 내부 모듈을 불러올 때는 반드시 확장자까지 포함해서 경로를 명시를 해줘야 함. 실패 import data from './data' 성공 import data from './data.js'

2022년 4월 20일
·
0개의 댓글
·

(node:187028) Warning: To load an ES module, set "type": "module" in the package.json or use the .mjs extension.

export, import를 하는데 오류가 발생한 상황 package.json 파일에 "type": "module"를 적용하니 해결

2022년 4월 20일
·
0개의 댓글
·

cors 미들웨어

cors 미들웨어

2022년 4월 14일
·
0개의 댓글
·

SyntaxError: Unexpected token ' in JSON at position 0

SyntaxError: Unexpected token ' in JSON at position 0

2022년 4월 13일
·
0개의 댓글
·

Error: listen EADDRINUSE: address already in use :::3000

터미널 lsof -i TCP:3000 kill -9 49293

2022년 3월 22일
·
0개의 댓글
·
post-thumbnail

Error [ERR_STREAM_WRITE_AFTER_END]: write after end

Error [ERR_STREAM_WRITE_AFTER_END]: write after end

2022년 3월 21일
·
0개의 댓글
·

'Switch' is not exported from 'react-router-dom'

'Switch' is not exported from 'react-router-dom'

2022년 3월 17일
·
0개의 댓글
·

npx create-react-app@latest my-app

npx create-react-app@latest my-app

2022년 3월 16일
·
0개의 댓글
·