개발모음집

The \"data\" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined 본문

Server/node.js

The \"data\" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined

void 2020. 10. 5. 10:00

잘되던 서버 코드가 로컬 컴퓨터에서 서버로 옮기자

The \"data\" argument must be one of type string, Buffer, TypedArray, or DataView. Received type undefined

 

에러가 발생하면서 안됐다.

에러 문제를 찾고 보니,

env파일을 옮기지 않아서 그랬던 것이었다.

참고 : github.com/sysgears/apollo-universal-starter-kit/issues/827