• 카테고리

    질문 & 답변
  • 세부 분야

    프론트엔드

  • 해결 여부

    미해결

incompatible architecture (have 'arm64', need 'x86_64')) 에러 : 해결

22.07.12 10:39 작성 조회수 705

1

/vue-til-server/node_modules/bcrypt/lib/binding/bcrypt_lib.node' (mach-o file, but is an incompatible architecture (have 'arm64', need 'x86_64'))

 

이라는 에러 메시지가 나와서 검색해보니

npm i canvas --save 이것 설치하라해서 설치했더니 서버 동작하였습니다

답변 1

답변을 작성해보세요.

0

안녕하세요 연님이님, Node.js 최신 LTS 버전으로 npm i 하시고 나서 npm i bcrypt 를 한번 더 실행하셔도 됩니다 :)