# Bootstrap.js missing \[solved\]

**URL:** <https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528>\
**Category:** Getting Started\
**Created:** [October 29, 2020, 11:59pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528 "2020-10-29T23:59:03Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![factorlive](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/factorlive/32/640_2.png) [@factorlive](https://forum.dfinity.org/u/factorlive)\
**Post date:** [October 29, 2020, 11:59pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/1 "2020-10-29T23:59:03Z")

</div>

Hi,

Wanted to see the magic app with the ic0.app domain and my code but I am missing something. So I followed the steps in the e-mail newsletter today but I faced this error when accessing the url.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/acf561aa7c910844d4edaad57a89999085fe9156.png)

Then I spammed the IC with the latest compiled bootstrap.js. However, the error persists. I also tried to change the entrypoint and included originally the assets folder.

Any other ideas?

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/cd6e6e7cf8c3b1cd64deecaf59641945fb452a3e.png)

Console:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/1b9f12adfd9a316e43818ed6b1e009b42be723c4.png)

---

<div class="post-metadata">

**Author:** ![Ori](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Ori](https://forum.dfinity.org/u/Ori)\
**Post date:** [October 30, 2020, 11:41am UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/2 "2020-10-30T11:41:43Z")

</div>

When you created/deployed the canisters, dfx would have shown you two canister ids, just double check you’re using the canister id for the “hello\_assets” canister, not the “hello” canister.

---

<div class="post-metadata">

**Author:** ![factorlive](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/factorlive/32/640_2.png) [@factorlive](https://forum.dfinity.org/u/factorlive)\
**Post date:** [October 30, 2020, 1:43pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/3 "2020-10-30T13:43:01Z")

</div>

Hi Ori,

Thanks for the reply and the tip. However, I tried both canister ids:

```auto
{
  "hello": {
    "ic": "lkgxr-pmfaa-aaaaa-aaaaa-aaaaa-aaaaa-aaaaa-q"
  },
  "hello_assets": {
    "ic": "jvgaw-3umaa-aaaaa-aaaaa-caaaa-aaaaa-aaaaa-q"
  }
}

```

---

<div class="post-metadata">

**Author:** ![Ori](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Ori](https://forum.dfinity.org/u/Ori)\
**Post date:** [October 30, 2020, 8:03pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/4 "2020-10-30T20:03:11Z")

</div>

Are you on the latest version? Run dfx --version and check you’re running 0.6.12. Also try force refreshing the browser window between attempts (Ctrl F5 or similar), that could help.

---

<div class="post-metadata">

**Author:** ![factorlive](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/factorlive/32/640_2.png) [@factorlive](https://forum.dfinity.org/u/factorlive)\
**Post date:** [October 30, 2020, 9:41pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/5 "2020-10-30T21:41:14Z")

</div>

hi Ori,

Yes, I tried that and also went to the https url in icognito mode 🕶🤓. I am running 0.6.12 on a Amazon Ubuntu 18.04 instance. The errors seems to stick from worker.js but this makes no sense to me. I even kept the dfx network running in the background. I also tried the phonebook app from the tutorial and got the same error. On linkedup it did not find my OS it seems.

Is there any other motoko library with a frontend that I can try out?

Thanks for walking me through!

---

<div class="post-metadata">

**Author:** ![Ori](https://avatars.discourse-cdn.com/v4/letter/o/ecae2f/32.png) [@Ori](https://forum.dfinity.org/u/Ori)\
**Post date:** [October 30, 2020, 10:33pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/6 "2020-10-30T22:33:35Z")

</div>

No problem. Hmm. You’re deploying this on the Sodium network without errors, with the --network ic flag? (You also shouldn’t need to run any network node on your instance for this).

Perhaps @stanley.jones or @hansl may have some thoughts on this too, if they have time today.

---

<div class="post-metadata">

**Author:** ![factorlive](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/factorlive/32/640_2.png) [@factorlive](https://forum.dfinity.org/u/factorlive)\
**Post date:** [October 30, 2020, 11:12pm UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/7 "2020-10-30T23:12:09Z")

</div>

Yes. I also would like to write a blog post on [icp.news](https://icp.news) about deploying my first app. It is just hard to write if I can’t get it to work 😊.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/35d43327daad9e17d411f85c272638ec9523eddc.png)

---

<div class="post-metadata">

**Author:** ![hansl](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/hansl/32/134_2.png) [@hansl](https://forum.dfinity.org/u/hansl)\
**Post date:** [October 31, 2020, 1:11am UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/8 "2020-10-31T01:11:53Z")

</div>

Hi @factorlive,

Seems like there’s something wrong with your asset configuration. In your `dfx.json` I see you specified `source: ["src/hello_assets"]` which made `dfx` upload all the files in that folder as is. The `source` array specifies a list of files and folders to upload to the asset canister.

What you want instead is uploading the _output_ of your build step (the webpack.config.js).

When accessing your frontend canister [https://jvgaw-3umaa-aaaaa-aaaaa-caaaa-aaaaa-aaaaa-q.ic0.app](https://jvgaw-3umaa-aaaaa-aaaaa-caaaa-aaaaa-aaaaa-q.ic0.app) you basically try to download a `index.js` file at the root. If that file isn’t uploaded in the asset canister it will show `not found` as the error.

You can check which files are in your asset canister using list:

 ![image](https://us1.discourse-cdn.com/flex023/uploads/dfn/original/1X/5398aa0286fef21bd5a2cbb0c8088b29296c2562.png)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![factorlive](https://sea1.discourse-cdn.com/flex023/user_avatar/forum.dfinity.org/factorlive/32/640_2.png) [@factorlive](https://forum.dfinity.org/u/factorlive)\
**Post date:** [October 31, 2020, 9:57am UTC](https://forum.dfinity.org/t/bootstrap-js-missing-solved/1528/9 "2020-10-31T09:57:58Z")

</div>

> [@hansl](#):
>
> What you want instead is uploading the _output_ of your build step (the webpack.config.js).

This is my key take away! _Thanks_ and this helped a lot. The **problem** was that I had **node not installed** on my tiny Amazon instance 😮. So the dfx deploy command did not trigger the build process.
