nodejs安装 出错:%1 is not a valid Win32 application

If all above did not work (my case - Windows10 64bit)
Delete C:\Users\user_name.node-gyp
Delete %AppData%/npm
Delete %AppData%/npm-cache
And install node-gyp again
Following instruction on node-gyp page
I chose Option 1 npm install --global --production windows-build-tools

%1 is not a valid Win32 application

你可能感兴趣的:(nodejs安装 出错:%1 is not a valid Win32 application)