# Error when running .\\build.ps1 on Windows

**URL:** <https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413>\
**Category:** App Development\
**Tags:** daml, daml-sdk\
**Created:** [November 5, 2021, 8:27am UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413 "2021-11-05T08:27:23Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![AlanMi](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@AlanMi](https://forum.canton.network/u/AlanMi)\
**Post date:** [November 5, 2021, 8:27am UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/1 "2021-11-05T08:27:23Z")

</div>

The error message is as follows, please advice.

 ![1636100486](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/e/eb24c3ab12c92ed7b15b0064baee80efa6b5c06c.png)

---

<div class="post-metadata">

**Author:** ![Mate\_Varga](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mate_varga/32/2308_2.png) [@Mate\_Varga](https://forum.canton.network/u/Mate_Varga)\
**Post date:** [November 5, 2021, 12:02pm UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/2 "2021-11-05T12:02:02Z")

</div>

Hi @AlanMi

As the error message states, Bazel could not connect (Connection timed out to download the [https://raw.githubusercontent.com/commercialhaskell/all-cabal-hashes/6638293ee2c7346e93b00c3922c401e0e41c508b/Glob/0.10.1/Glob.cabal](https://raw.githubusercontent.com/commercialhaskell/all-cabal-hashes/6638293ee2c7346e93b00c3922c401e0e41c508b/Glob/0.10.1/Glob.cabal) file it needs to build the dependency. This issue may be intermittent and then you should succeed on a retry, otherwise you need to ensure that your machine is not blocked from accessing the file.

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [November 5, 2021, 8:22pm UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/3 "2021-11-05T20:22:09Z")

</div>

Perhaps also worth pointing out that you only need this if you want to hack on the Daml source code. If you just want to use the Daml SDK, you can use the Windows installer from [Release 1.17.1 · digital-asset/daml · GitHub](https://github.com/digital-asset/daml/releases/latest/)

---

<div class="post-metadata">

**Author:** ![AlanMi](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@AlanMi](https://forum.canton.network/u/AlanMi)\
**Post date:** [November 6, 2021, 6:14am UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/4 "2021-11-06T06:14:19Z")

</div>

I can successfully access this file through the browser

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/daml/original/2X/7/7efa678a01581c4f3d693b266cb8cee6e54b1870.png)

---

<div class="post-metadata">

**Author:** ![Mate\_Varga](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/mate_varga/32/2308_2.png) [@Mate\_Varga](https://forum.canton.network/u/Mate_Varga)\
**Post date:** [November 7, 2021, 5:56pm UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/5 "2021-11-07T17:56:38Z")

</div>

But still get the same error message when you try to build?

---

<div class="post-metadata">

**Author:** ![AlanMi](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@AlanMi](https://forum.canton.network/u/AlanMi)\
**Post date:** [November 8, 2021, 1:10am UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/6 "2021-11-08T01:10:56Z")

</div>

Yes, the same error message

---

<div class="post-metadata">

**Author:** ![cocreature](https://yyz2.discourse-cdn.com/flex034/user_avatar/forum.canton.network/cocreature/32/36_2.png) [@cocreature](https://forum.canton.network/u/cocreature)\
**Post date:** [November 8, 2021, 7:46am UTC](https://forum.canton.network/t/error-when-running-build-ps1-on-windows/3413/7 "2021-11-08T07:46:14Z")

</div>

@AlanMi is there some form of proxy involved in your network setup?
