# Node-red-contrib-blockly which blockly version is being used?

**URL:** <https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806>\
**Category:** General\
**Created:** [16 August 2021 17:34 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806 "2021-08-16T17:34:11Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![rth](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rth](https://discourse.nodered.org/u/rth)\
**Post date:** [16 August 2021 17:34 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/1 "2021-08-16T17:34:11Z")

</div>

Hello I have to questions regardig node-red-blockly and I would love if someone could help me.

1. Which version is being used in the node-red-blockly?
2. Why do I get a empty toolbox when I download the newst node-red-blockly beta verison. This is what I see:  
 ![2021-08-05-19-53-19](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/2/a/2a50473d8f780393591f4a68d074b7668ff703cd.jpeg)

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [16 August 2021 17:38 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/2 "2021-08-16T17:38:25Z")

</div>

What version is node-red and node?

Are there any errors in your browser console?

What browser are you using?

Ps, the version of blockly for the latest beta can be found [here](https://github.com/bartbutenaers/node-red-contrib-blockly/blob/430736952f763260381308fb84448ce6f0ddd678/package.json#L6)

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [16 August 2021 22:28 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/3 "2021-08-16T22:28:10Z")

</div>

> [@rth](#):
>
> Why do I get a empty toolbox when I download the newst node-red-blockly beta verison

Hi @rth,  
Are there any errors in the Console window of the Developer Tools in your browser? And can you describe your setup (hardware, operating system, Node-RED version...).  
I assume it is somehow related to library loading issues...

---

<div class="post-metadata">

**Author:** ![rth](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rth](https://discourse.nodered.org/u/rth)\
**Post date:** [17 August 2021 06:55 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/4 "2021-08-17T06:55:10Z")

</div>

Hello @Steve-Mcl and @BartButenaers  
thanks for the reply!

1. The errors I get are:  

2. As for my browser Im just using google chrome.

3. Maybe I am downloading it in a wrong manner? I just downloaded the file from the [Milestone 2.0.0 beta release 2](https://github.com/bartbutenaers/node-red-contrib-blockly/releases/tag/v2.0.0-beta.2) and replaced the node-red-contrib-blockly in my node\_modules folder with the new file. Is that the right way to download it? (When I download the older versions of node-red-blockly as explained here [node-red-contrib-blockly (node) - Node-RED](https://flows.nodered.org/node/node-red-contrib-blockly) everything works fine, but i dont know how to add this new beta version.

4. What version of blockly is used in the new beta version?

Thanks a lot!

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [17 August 2021 06:58 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/5 "2021-08-17T06:58:58Z")

</div>

To install beta 2 you need to `cd` to your `.node-red` folder and do `npm install node-red-contrib-blockly@2.0.0-beta.2`

Also, I see you are running node-red 1.3.5 - not sure if Barts beta requires node-red V2.x?

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [17 August 2021 08:20 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/6 "2021-08-17T08:20:31Z")

</div>

> [@Steve-Mcl](#):
>
> not sure if Barts beta requires node-red V2.x?

Thanks Steve for your assistance! Normally it sjould also work for Node-RED 1.3

> [@rth](#):
>
> The errors I get are

Yes this is what I expected. The loading of the libraries has completely changed in our new version. So perhaps there is a bug in my code, or it is caused by the way you have installed the beta version.

Seems that the blockly libs cannot be found. Since our 2.0 version, the blockly npm module will be installed automatically as an npm dependency: if you have a look at the link that Steve has offered you, you see that you will get the latest blocly version available at this moment.

I am not sure if the npm dependencies are installed automatically, when you install blockly via our github releases page. Perhaps somebody else can answer that question.

Can you install it like Steve explained, and give us feedback.

---

<div class="post-metadata">

**Author:** ![rth](https://avatars.discourse-cdn.com/v4/letter/r/9d8465/32.png) [@rth](https://discourse.nodered.org/u/rth)\
**Post date:** [17 August 2021 08:43 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/7 "2021-08-17T08:43:38Z")

</div>

Everything works now! Thanks a lot

---

<div class="post-metadata">

**Author:** ![BartButenaers](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/bartbutenaers/32/10476_2.png) [@BartButenaers](https://discourse.nodered.org/u/BartButenaers)\
**Post date:** [17 August 2021 12:16 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/8 "2021-08-17T12:16:22Z")

</div>

@rth,  
Thanks for letting us know it works now!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [31 August 2021 12:17 UTC](https://discourse.nodered.org/t/node-red-contrib-blockly-which-blockly-version-is-being-used/49806/9 "2021-08-31T12:17:19Z")

</div>

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