Error loading JSON after running nwb nwbuild

11 views
Skip to first unread message

Rastislav Rehák

unread,
Jun 2, 2025, 9:21:27 AMJun 2
to nw.js
Hello

For several years I have been using nwjs to create a desktop application using VUE JS 3 source via the nwb nwbuild command.
Everything worked all the time until Friday 30.5.2025 it throws me an error that it cannot load JSON.
Basically it tries to load some JSON format and it returns

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>404 Not Found</title>
</head><body>
<h1>Not Found</h1>
<p>The requested URL was not found on this server.</p>
<hr>
<address>Server Apache/2.4.62 (Debian) on nwjs.io Port 80</address>
</body></html>

 function (arr, i) {
    if (Array.isArray(arr)) {
      return arr;
    } else if ((0, _isIterable3.default)(Object(arr))) {
      return sliceIterator(arr, i);
    } else {
      throw new TypeError("Invalid attempt to destructure non-iterable instance");
    }

I managed to find out that this status is returned, for example, with http://nwjs.io/versions.json.

However, if I fix this path to SSL - i.e. https://nwjs.io/versions.json it returns me JSON with NWJS versions "latest": "v0.100.0",

Please, I am asking you how to continue this problem and continue developing the desktop from the source of the VUE JS 3 application using the nwb nwbuild command.

Thank you

Brian Bothwell

unread,
Jun 2, 2025, 10:08:27 AMJun 2
to Rastislav Rehák, nw.js
Update to the latest nwbuilder: https://github.com/nwutils/nw-builder/pull/355

- Brian


--
You received this message because you are subscribed to the Google Groups "nw.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nwjs-general...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/nwjs-general/acdde254-ede1-401f-9529-7fe1143d604bn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages