
ngoclb
Fullstack Developer and Freelancer
February 13, 2025
Install canvas on Mac M1 (Apple Silicon): command failed node-pre-gyp install --fallback-to-build
This article details troubleshooting and resolving node-gyp issues when revisiting an old Ionic v4 project. The main problem occurred during npm install due to a Python version mismatch. After reviewing error logs, the issue was identified as using Python 3.13 with [email protected], despite node-gyp requiring Python >= 3.12.