# Multi Scene webAR demo has error

**URL:** <https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456>\
**Category:** Technical Support\
**Created:** [February 24, 2024, 5:56pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456 "2024-02-24T17:56:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@Bill\_Sullivan](https://forum.8thwall.com/u/Bill_Sullivan)\
**Post date:** [February 24, 2024, 5:56pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/1 "2024-02-24T17:56:57Z")

</div>

I’m following the Multi Scene webAr demo and everything is working but I keep getting an error saying it can’t find my TreeSceneComponents, but I have followed the tutorial step by step, I have my tree-components.js in my components folder, and at the bottom of the tap to place I have below.

In the tutorial video it’s at 24 minutes where it’s shown how to impliment, I follow to t but not working for me, get error saying can’t find TreeSceneComponents…

const TreeSceneComponents = [  
{name: ‘tap-place’, val: tapPlaceComponent},  
]

export {TreeSceneComponents}

in my trees.tsx file I have this

const TreeScene = withRouter(({match}) =\> (  
\<React.Fragment\>  
  
\<AFrameScene  
sceneHtml={require(‘./trees.html’)}  
components={TreeSceneComponents}  
/\>  
\</React.Fragment\>  
))

export {TreeScene}

not sure what I’ve got wrong here, so close but so frustrating…

---

<div class="post-metadata">

**Author:** ![Bill\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@Bill\_Sullivan](https://forum.8thwall.com/u/Bill_Sullivan)\
**Post date:** [February 25, 2024, 10:22pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/2 "2024-02-25T22:22:31Z")

</div>

I think I found the issue, I was missing the declaration at the top of my tree.tsx file. Components now loading!! But now getting a 404 error when trying to access the button…

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [February 26, 2024, 8:36pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/3 "2024-02-26T20:36:46Z")

</div>

Hey Bill! Glad to hear you’ve made some progress. Did you add a new route for the trees scene in `react-app.jsx`? This is done at ~25 minutes into the tutorial.

---

<div class="post-metadata">

**Author:** ![Bill\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@Bill\_Sullivan](https://forum.8thwall.com/u/Bill_Sullivan)\
**Post date:** [February 27, 2024, 12:37am UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/4 "2024-02-27T00:37:30Z")

</div>

Believe it or not the issue was the single quote, as I traced line by line I could see there was difference in the tutorial and my work was a single quote not being the correct type… I totaly forgot there was a differnt kind of single quote, I know there is a big difference how some languages treat single and double quote but never sideways single… learn something new every day. You can see here the single quotes are not ’ they are ` soon as I switched them it worked. <Route exact path={`${base}/trees`} component={TreeScene}/\>

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [February 27, 2024, 7:23pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/5 "2024-02-27T19:23:54Z")

</div>

Glad to hear you figured it out! Thanks for sharing your solution!

---

<div class="post-metadata">

**Author:** ![Bill\_Sullivan](https://avatars.discourse-cdn.com/v4/letter/b/a87d85/32.png) [@Bill\_Sullivan](https://forum.8thwall.com/u/Bill_Sullivan)\
**Post date:** [February 27, 2024, 7:55pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/6 "2024-02-27T19:55:11Z")

</div>

Not a problem, sometimes its the simplest things that trip you up. One question for you Evan, is there a way to remove a question, say if I post something and then five minutes later solve it myself, I would like to remove the question as not to waste anyone’s time.

---

<div class="post-metadata">

**Author:** ![Evan](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.8thwall.com/evan/32/431_2.png) [@Evan](https://forum.8thwall.com/u/Evan)\
**Post date:** [February 27, 2024, 7:59pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/7 "2024-02-27T19:59:19Z")

</div>

Yep! You can click the three dots on the lower right side of the post, then click the trash icon 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex019/uploads/x8thwall/original/2X/9/9212a857458f1b03a6accb129e0f8cbea408e3e5.png) [@system](https://forum.8thwall.com/u/system)\
**Post date:** [May 14, 2024, 10:02pm UTC](https://forum.8thwall.com/t/multi-scene-webar-demo-has-error/456/8 "2024-05-14T22:02:40Z")

</div>

Closed on May 14, 2024, 10:02pm UTC

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