macos安装 windows所需的对应的依赖
npm install \
--os=win32 \
--cpu=x64 \ # x86 架构改为 --cpu=ia32
--platform=win32 \
--force \
--no-bin-links # 禁用 macOS 符号链接
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
npm install \
--os=win32 \
--cpu=x64 \ # x86 架构改为 --cpu=ia32
--platform=win32 \
--force \
--no-bin-links # 禁用 macOS 符号链接