에러 코드 포털
Node.jsNode.js오류 코드

ERR_INVALID_URL_SCHEME

invalid url scheme

Node.js 런타임 또는 API 호출에서 보고한 오류. 공식 설명과 호출 인수, 스택 추적을 함께 확인하세요.

An attempt was made to use a URL of an incompatible scheme (protocol) for a specific purpose. It is only used in the WHATWG URL API support in the fs module (which only accepts URLs with 'file' scheme), but may be used in other Node.js APIs as well in the future.

해결·진단 링크

문서의 제품·버전·발생 환경이 현재 상황과 일치하는지 먼저 확인하세요.