# Cant get running (win 10)

**URL:** <https://community.n8n.io/t/cant-get-running-win-10/1265>\
**Category:** Questions\
**Created:** [May 2, 2020, 4:16pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265 "2020-05-02T16:16:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 2, 2020, 4:16pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/1 "2020-05-02T16:16:16Z")

</div>

Hi everyone, I am trying to install n8n , but after 8 hours of installing / trying / searching on the web I am stuck.

i cant get pass this part:

```auto
C:\Users\Werner>n8n

Error: Cannot find module '../build/Release/magic'

Require stack:

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/mmmagic/lib/index.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/n8n-core/dist/src/NodeExecuteFunctions.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/n8n-core/dist/src/index.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/dist/commands/start.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/@oclif/config/lib/plugin.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/@oclif/config/lib/config.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/@oclif/config/lib/index.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/@oclif/command/lib/command.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/@oclif/command/lib/index.js

- C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/bin/n8n

    at Object.<anonymous> (C:/Users/Werner/AppData/Roaming/npm/node_modules/n8n/node_modules/mmmagic/lib/index.js

```

could you please help me out?

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [May 2, 2020, 4:55pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/2 "2020-05-02T16:55:49Z")

</div>

Welcome to the community @Werner_Oostendorp!

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:

> **[Introduction | n8n Docs](https://docs.n8n.io/#/troubleshooting)**
>
> n8n is an extendable workflow automation tool that enables you to connect anything to everything via its open, fair-code model.

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.

---

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 2, 2020, 8:56pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/3 "2020-05-02T20:56:49Z")

</div>

hi jan, thanks for your reply. I did all the steps, but without luck ☹

---

<div class="post-metadata">

**Author:** ![jan](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jan/32/9_2.png) [@jan](https://community.n8n.io/u/jan)\
**Post date:** [May 2, 2020, 9:21pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/4 "2020-05-02T21:21:09Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Tephlon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tephlon/32/9899_2.png) [@Tephlon](https://community.n8n.io/u/Tephlon)\
**Post date:** [May 3, 2020, 1:47am UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/5 "2020-05-03T01:47:22Z")

</div>

Hey @Werner_Oostendorp,  
Let’s see if we can get you up and running! 🏃‍♂️

First of all, a few questions…

1. What version of Windows 10 are you running?
2. What version of NodeJS are you running?
3. How was NodeJS installed on your system? By the account you are running? As administrator? Was it installed globally?
4. Can you confirm that the you have the mmagic NodeJS module installed properly?
5. If it is installed properly, was it installed as a package or did you have to compile it yourself?
6. Where is the `build/Release/magic` folder located on your system? Do you have access to it from a security perspective?
7. Does it work properly if you run it from the `C:\Users\Werner` directory using an Administrative Command Prompt, not just the regular Command Prompt?
8. From the `C:\Users\Werner` using a Command Prompt (Administrative or otherwise), if you enter the command `cd ..\build\Release`, what result do you get?

OK. Enough questions for now. Let me know what you find out.

---

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 3, 2020, 9:04am UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/6 "2020-05-03T09:04:27Z")

</div>

Hi Tephlon, thanks for your reply.

1. What version of Windows 10 are you running?

**Windows 10 pro 1909**

1. What version of NodeJS are you running?

**v12.16.3**

1. How was NodeJS installed on your system? By the account you are running? As administrator? Was it installed globally?

**Using the installer I found online, as admin, but i don’t know what global means**

1. Can you confirm that the you have the mmagic NodeJS module installed properly?

**No I can’t, how can I check this?**

1. If it is installed properly, was it installed as a package or did you have to compile it yourself?

**Not enough knowledge to give you an answer on this.**

1. Where is the `build/Release/magic` folder located on your system? Do you have access to it from a security perspective?

**I try to search for it but without luck**

1. Does it work properly if you run it from the `C:\Users\Werner` directory using an Administrative Command Prompt, not just the regular Command Prompt?

**What do I need to do?**

1. From the `C:\Users\Werner` using a Command Prompt (Administrative or otherwise), if you enter the command `cd ..\build\Release` , what result do you get?

**Het systeem kan het opgegeven pad niet vinden. (can’t find the path…)**

thanks for your help!

---

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 3, 2020, 10:06am UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/7 "2020-05-03T10:06:26Z")

</div>

I totaly start over again, and I think its the mmagic module. after installing:

```auto
npm ERR! mmmagic@0.5.3 install: `node-gyp rebuild`
npm ERR! Exit status 7
npm ERR!
npm ERR! Failed at the mmmagic@0.5.3 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

```

but I don’t know what to do…

---

<div class="post-metadata">

**Author:** ![Tephlon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tephlon/32/9899_2.png) [@Tephlon](https://community.n8n.io/u/Tephlon)\
**Post date:** [May 3, 2020, 3:47pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/8 "2020-05-03T15:47:39Z")

</div>

Try installing the Windows Build Tools and then try again:

[https://www.npmjs.com/package/windows-build-tools](https://www.npmjs.com/package/windows-build-tools)

I’ll go over your other answers in a bit.

---

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 3, 2020, 5:52pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/9 "2020-05-03T17:52:22Z")

</div>

i installed it again, but i am keeping the same ‘error’

---

<div class="post-metadata">

**Author:** ![Tephlon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tephlon/32/9899_2.png) [@Tephlon](https://community.n8n.io/u/Tephlon)\
**Post date:** [May 3, 2020, 8:29pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/10 "2020-05-03T20:29:08Z")

</div>

Did you install the windows build tools?

---

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 4, 2020, 7:33am UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/11 "2020-05-04T07:33:50Z")

</div>

Yes, this is what i did:

1. Installed Node.js via [Node.js](https://nodejs.org/en/) (version12.16.3 LTS Download for Windows (x64))

2. Installed Python 2.7 via [Python Release Python 2.7.17 | Python.org](https://www.python.org/downloads/release/python-2717/) (version Windows x86-64 MSI installer)

3. Command (npm install mmmagic) this gives a lot of ERR! messages, see message above;

4. Command: npm install --global --production windows-build-tools (seems ok to me)

5. Commands: npm config set python python2.7 & npm config set msvs\_version 2017 --global, here I don’t see anything happen.

6. Now when I try to start n8n, this is what I get:

Require stack:

- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/mmmagic/lib/index.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/n8n-core/dist/src/NodeExecuteFunctions.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/n8n-core/dist/src/index.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/dist/commands/start.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/@oclif/config/lib/plugin.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/@oclif/config/lib/config.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/@oclif/config/lib/index.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/@oclif/command/lib/command.js
- C:/Users/Werner/AppData/Roaming/npm/node\_modules/n8n/node\_modules/@oclif/command/lib/index.js
- 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)

---

<div class="post-metadata">

**Author:** ![Tephlon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tephlon/32/9899_2.png) [@Tephlon](https://community.n8n.io/u/Tephlon)\
**Post date:** [May 4, 2020, 3:29pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/12 "2020-05-04T15:29:28Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Werner\_Oostendorp](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/werner_oostendorp/32/1014_2.png) [@Werner\_Oostendorp](https://community.n8n.io/u/Werner_Oostendorp)\
**Post date:** [May 4, 2020, 4:33pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/13 "2020-05-04T16:33:15Z")

</div>

I started completely over, but no luck ☹  
Don’t think this is going to work for me!

But thanks for your time and help! 🙂

---

<div class="post-metadata">

**Author:** ![jethrinfox](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/jethrinfox/32/1108_2.png) [@jethrinfox](https://community.n8n.io/u/jethrinfox)\
**Post date:** [May 20, 2020, 4:55am UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/14 "2020-05-20T04:55:13Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Tephlon](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/tephlon/32/9899_2.png) [@Tephlon](https://community.n8n.io/u/Tephlon)\
**Post date:** [May 20, 2020, 6:31pm UTC](https://community.n8n.io/t/cant-get-running-win-10/1265/15 "2020-05-20T18:31:47Z")

</div>

Hey @jethrinfox. Welcome to the community!

Thanks for the insight into how you resolved this issue. It is definitely going to be helpful.
