250x250
Notice
Recent Posts
«   2024/11   »
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
관리 메뉴

일상 코딩

[MacOS/AppleSilicon] M1 node.js 버전 호환성 문제, wasm code commit Allocation failed 본문

Node.js/MacOS AppleSilicon 오류 수정

[MacOS/AppleSilicon] M1 node.js 버전 호환성 문제, wasm code commit Allocation failed

polarcompass 2022. 4. 18. 16:18
728x90
1. X64에서 작동하도록 변경
$ nvm uninstall <installed node version>
$ arch -x86_64 zsh 
$ nvm install <wanted node version>
$ nvm alias default <wanted node version>
2. 터미널 복제 후 로제타로 작동하게 한다.

1. 터미널 복제
2. 복제된 터미널 설정창 열기
3. 로제타로 작동시킨다고 체크해준다.

3. Node.js 버전 최신버전으로 다시 설치한다.
$ brew uninstall node@버전
$ brew install node
출처

https://shanabunny.com/?p=260

 

Solving M1 Node Version Compatibility Issue: wasm code commit Allocation failed – Shana Bunny CodeBox

I received a new MacBook Air with M1 at my workplace. Apparently Node on M1 macOS doesn’t work well except on version 15.3.0 or above where they fixed related issues, and all my projects are based on Node 12 ~14. I was using Mac with Intel chip before so

shanabunny.com

 

728x90