# Build Error on Windows & Linux(Arch)

**URL:** <https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104>\
**Category:** Support\
**Created:** [25 March 2021 18:12 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104 "2021-03-25T18:12:07Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![noel3225](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@noel3225](https://discourse.joplinapp.org/u/noel3225)\
**Post date:** [25 March 2021 18:12 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/1 "2021-03-25T18:12:07Z")

</div>

Joplin version: 1.7.11  
Platform: Windows & Linux (Arch)  
OS specifics: x64 bit

Steps to reproduce

1. git clone source
2. install dependencies
3. npm install

I tried removing the spaces and also moving to a new directory with no spaces, as suggested by @roman_r_m @JackGruber and on previous topics related to build errors. But it still fails to build the source.

Logs:  
[cmd error - Pastebin.com](https://pastebin.com/nAwFQHmq) --\> cmd error output  
[2021-03-25T17\_32\_46\_537Z-debug.log - Pastebin.com](https://pastebin.com/y1A3NNH1) --\> 2021-03-25T17\_32\_46\_537Z-debug.log  
[2021-03-25T17\_32\_47\_524Z-debug.log - Pastebin.com](https://pastebin.com/7GUs2WJ5) --\> 2021-03-25T17\_32\_47\_524Z-debug.log

---

<div class="post-metadata">

**Author:** ![laurent](https://avatars.discourse-cdn.com/v4/letter/l/ce7236/32.png) [@laurent](https://discourse.joplinapp.org/u/laurent)\
**Post date:** [25 March 2021 19:35 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/2 "2021-03-25T19:35:03Z")

</div>

Perhaps try Node 12

---

<div class="post-metadata">

**Author:** ![roman\_r\_m](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/roman_r_m/32/3297_2.png) [@roman\_r\_m](https://discourse.joplinapp.org/u/roman_r_m)\
**Post date:** [25 March 2021 20:18 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/3 "2021-03-25T20:18:25Z")

</div>

Or try installing windows build tools like this

```auto
npm install --global windows-build-tools --vs2015

```

---

<div class="post-metadata">

**Author:** ![noel3225](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@noel3225](https://discourse.joplinapp.org/u/noel3225)\
**Post date:** [26 March 2021 11:02 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/4 "2021-03-26T11:02:11Z")

</div>

Yes! this worked. Although initially I had removed node completely and re-installed, but pretty sure this was the issue.  
Thanks @roman_r_m

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [26 March 2021 13:18 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/5 "2021-03-26T13:18:41Z")

</div>

Just in case...

> <https://github.com/laurent22/joplin/blob/dev/readme/build_troubleshooting.md>

(referenced here [joplin/BUILD.md at dev · laurent22/joplin · GitHub](https://github.com/laurent22/joplin/blob/dev/BUILD.md#troubleshooting))

---

<div class="post-metadata">

**Author:** ![noel3225](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@noel3225](https://discourse.joplinapp.org/u/noel3225)\
**Post date:** [26 March 2021 14:05 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/6 "2021-03-26T14:05:43Z")

</div>

yes, I had found it later today. But it still wont build on Arch, after searching a bit, found out it could be an issue with the packages and official support wouldn't be there, I guess according another article I read. So I'll continue with windows

---

<div class="post-metadata">

**Author:** ![tessus](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/tessus/32/13_2.png) [@tessus](https://discourse.joplinapp.org/u/tessus)\
**Post date:** [26 March 2021 14:11 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/7 "2021-03-26T14:11:09Z")

</div>

The link is just for reference. If you have a problem that isn't fixed by any of the solutions in the troubleshooting file, we should update it accordingly.

Although I hoped people would just open PRs with their solutions along the way... 😉

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [25 April 2021 14:12 UTC](https://discourse.joplinapp.org/t/build-error-on-windows-linux-arch/16104/8 "2021-04-25T14:12:05Z")

</div>

Closed on 25 April 2021 14:12 UTC

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
