# Error in my code

**URL:** https://forum.makecode.com/t/error-in-my-code/1513
**Category:** Help
**Created:** [March 26, 2020, 10:49pm UTC](https://forum.makecode.com/t/error-in-my-code/1513 "2020-03-26T22:49:31Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![NicholasP9480](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nicholasp9480/32/759_2.png) [@NicholasP9480](https://forum.makecode.com/u/NicholasP9480)
#### Post date: [March 26, 2020, 10:49pm UTC](https://forum.makecode.com/t/error-in-my-code/1513/1 "2020-03-26T22:49:31Z")

</div>

I am receiving an error that says \*cannot redeclare block-scoped variable ‘name’ \* can someone help me resolve the issue. Here is a link to my project _**[https://arcade.makecode.com/#editor](https://arcade.makecode.com/#editor)**_

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [March 26, 2020, 11:08pm UTC](https://forum.makecode.com/t/error-in-my-code/1513/2 "2020-03-26T23:08:13Z")

</div>

Looks like that link isn’t a share link. It will work for you, but not anyone else. To share a link that other’s can use click the share button on top of the editor. Here’s a GIF:

 ![2020-03-23 09.17.36](https://us1.discourse-cdn.com/flex020/uploads/makecode/original/1X/b33ee0cc63a7c343c23e4b6dd8665405eae8f852.gif)

---

<div class="post-metadata">

### Author: ![NicholasP9480](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nicholasp9480/32/759_2.png) [@NicholasP9480](https://forum.makecode.com/u/NicholasP9480)
#### Post date: [March 26, 2020, 11:17pm UTC](https://forum.makecode.com/t/error-in-my-code/1513/3 "2020-03-26T23:17:05Z")

</div>

Sorry about that here is a link that you can access. [https://makecode.com/\_EKPKJ78XRdCx](https://makecode.com/_EKPKJ78XRdCx)

---

<div class="post-metadata">

### Author: ![richard](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/richard/32/5417_2.png) [@richard](https://forum.makecode.com/u/richard)
#### Post date: [March 26, 2020, 11:33pm UTC](https://forum.makecode.com/t/error-in-my-code/1513/4 "2020-03-26T23:33:41Z")

</div>

No problem! That’s a weird bug, it looks like your project added itself as an extension. Anyways, I fixed it by following these steps:

1. Go to JavaScript
2. Click the “Explorer” below the simulator to open it
3. Click the trash can next to the “Maze” extension
4. Go back to blocks

Or, you can just import this share link from the home screen (the import button)

> **[Maze](https://arcade.makecode.com/89820-16343-54795-05828)**
>
> Made with ❤️ in Microsoft MakeCode Arcade.

---

<div class="post-metadata">

### Author: ![NicholasP9480](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.makecode.com/nicholasp9480/32/759_2.png) [@NicholasP9480](https://forum.makecode.com/u/NicholasP9480)
#### Post date: [March 27, 2020, 3:15am UTC](https://forum.makecode.com/t/error-in-my-code/1513/5 "2020-03-27T03:15:38Z")

</div>

Thank you so much for the help Richard, my code is now functional.
