# 'missing ) after argument list' when building custom node

**URL:** <https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757>\
**Category:** Questions\
**Created:** [10 Julio, 2020 15:23 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757 "2020-07-10T15:23:38Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![vonstrenginho](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/vonstrenginho/32/1407_2.png) [@vonstrenginho](https://community.n8n.io/u/vonstrenginho)\
**Post date:** [10 Julio, 2020 15:23 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757/1 "2020-07-10T15:23:38Z")

</div>

Hi! I’m trying to build a custom node using n8n-node-dev on Windows 10, but I’m getting the below error. Looks like it’s trying to run the shell script for tsc in nodejs? Any ideas?

```
>n8n-node-dev build

Build credentials and nodes
=========================
The nodes got build and saved into the following folder:
C:\Users\user\.n8n\custom
C:\Users\user\AppData\Roaming\npm\node_modules\n8n-node-dev\node_modules\.bin\tsc:2
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
        ^^^^^^^

SyntaxError: missing ) after argument list
    at wrapSafe (internal/modules/cjs/loader.js:1054:16)
    at Module._compile (internal/modules/cjs/loader.js:1102:27)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)
    at Function.Module._load (internal/modules/cjs/loader.js:879:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
    at internal/main/run_main_module.js:17:47
```

---

<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:** [11 Julio, 2020 12:05 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757/2 "2020-07-11T12:05:31Z")

</div>

Hey @vonstrenginho ,  
The command that is executed to assign the variable `basedir` appears to be a bash script. Is it possible that the issue is arising from you working in a Windows build environment?

---

<div class="post-metadata">

**Author:** ![vonstrenginho](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/vonstrenginho/32/1407_2.png) [@vonstrenginho](https://community.n8n.io/u/vonstrenginho)\
**Post date:** [11 Julio, 2020 12:44 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757/3 "2020-07-11T12:44:52Z")

</div>

Yes, is Windows not supported for this?

---

<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:** [11 Julio, 2020 12:57 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757/4 "2020-07-11T12:57:06Z")

</div>

Frankly, I’m not certain. I do most of my development writing on Windows but I run all my test code on Linux. I also know that the n8n team is relatively Mac focused.

@jan, could you provide some insight into this?

---

<div class="post-metadata">

**Author:** ![ivov](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/ivov/32/1463_2.png) [@ivov](https://community.n8n.io/u/ivov)\
**Post date:** [20 Julio, 2020 14:09 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757/5 "2020-07-20T14:09:49Z")

</div>

@vonstrenginho Workaround here: [CLI tool build command fails to find Typescript on Windows · Issue #665 · n8n-io/n8n · GitHub](https://github.com/n8n-io/n8n/issues/665)

---

<div class="post-metadata">

**Author:** ![vonstrenginho](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/vonstrenginho/32/1407_2.png) [@vonstrenginho](https://community.n8n.io/u/vonstrenginho)\
**Post date:** [20 Julio, 2020 16:41 UTC](https://community.n8n.io/t/missing-after-argument-list-when-building-custom-node/1757/6 "2020-07-20T16:41:57Z")

</div>

Thanks, that worked a charm!
