# Trying to load npm package justgage into UIBUILDER 7.4.3 NR 4.0.9

**URL:** <https://discourse.nodered.org/t/trying-to-load-npm-package-justgage-into-uibuilder-7-4-3-nr-4-0-9/98762>\
**Category:** Dashboard\
**Tags:** uibuilder\
**Created:** [21 August 2025 12:40 UTC](https://discourse.nodered.org/t/trying-to-load-npm-package-justgage-into-uibuilder-7-4-3-nr-4-0-9/98762 "2025-08-21T12:40:56Z")\
**Posts on this page:** 3\
**Page:** 3

<div class="post-metadata">

**Author:** ![mudwalker](https://avatars.discourse-cdn.com/v4/letter/m/47e85d/32.png) [@mudwalker](https://discourse.nodered.org/u/mudwalker)\
**Post date:** [6 September 2025 09:06 UTC](https://discourse.nodered.org/t/trying-to-load-npm-package-justgage-into-uibuilder-7-4-3-nr-4-0-9/98762/41 "2025-09-06T09:06:52Z")

</div>

Pretty sure I could repeat the error - I spent about 2 hours yesterday trying to sort out the Syntax Errors I was getting.

ChatGPT mentioned that there should be Semi-Colons or New Lines in the ‘bad’ Javascript and all the errors I saw in the .js files were merged lines with no Semi-Colons.

At the moment, I am spending my efforts on getting the SPA correct. I now know this problem exists and I have a workaround.

However… Out of curiosity I have just tried the same actions as yesterday on the same Nodes as yesterday and it all works OK! I did try restarting Vivaldi yesterday, that made no difference, but I didn’t do a reboot. Maybe I was just unlucky, but I will keep my eye on it now I know about it!!

---

<div class="post-metadata">

**Author:** ![TotallyInformation](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/totallyinformation/32/31_2.png) [@TotallyInformation](https://discourse.nodered.org/u/TotallyInformation)\
**Post date:** [6 September 2025 14:43 UTC](https://discourse.nodered.org/t/trying-to-load-npm-package-justgage-into-uibuilder-7-4-3-nr-4-0-9/98762/42 "2025-09-06T14:43:47Z")

</div>

> [@mudwalker](#):
>
> merged lines with no Semi-Colons.

Ah, now I understand!

This is a Windows vs UNIX line ending issue. Very rare these days but can still happen. The paste operation has stripped the line endings or pasted them in a way that the recipient is not understanding. That will be why you are getting errors because without a newline and without a semi-colon statement separator, JavaScript cannot work out where each statement starts and ends.

I rarely get this issue, occasionally copying from some random website but not often. Try pasting as text rather than simply pasting to see if that makes a difference. Or even, as I sometimes have to, paste into VSCode or similar first and then re-copy and paste.

---

<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:** [20 September 2025 14:44 UTC](https://discourse.nodered.org/t/trying-to-load-npm-package-justgage-into-uibuilder-7-4-3-nr-4-0-9/98762/43 "2025-09-20T14:44:15Z")

</div>

Closed on 20 September 2025 14:44 UTC

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

[Previous page](https://discourse.nodered.org/t/trying-to-load-npm-package-justgage-into-uibuilder-7-4-3-nr-4-0-9/98762.md?page=2)
