Not a windows user myself but we had quite a few people getting it to run on windows. We have a short troubleshooting guide here:
I does not specifically mention the problem you have but it describes what kind of software has to be installed and how. So maybe if you follow that it also fixes your problem.
Very sorry I also tried to find something online, sadly without luck. As I am not a Windows user myself I can sadly not be of any help here. Hope another community member which also uses windows has an idea what is going on there.
I totaly start over again, and I think its the mmagic module. after installing:
npm ERR! [email protected] install: `node-gyp rebuild`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the [email protected] install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/bin/n8n
at Object. (C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/mmmagic/lib/index.js:1:13)
I believe that the windows-build-tools need to be installed before the mmmagic package as the system doesnât seem to know where where the precompiled package is and is trying to compile it for your system. In order to do that, it needs to have access to the windows-build-tools first.
Hello there. I was stuck with the same problem for 3 days. I was able to install it and run in an ubuntu VM to confirm that mmmagic package was building in there. Fix it in my Windows 10 host using this command after checking that I can reach the âMSBuild.exeâ file.
npm config set msbuild_path "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\MSBuild.exe"
Then uninstalling n8n, the build tools package and reinstalling worked for me.