This is a desktop application of Node-RED
- Download the installer from release page.
- Run the installer.
git clone https://github.com/sakazuki/node-red-desktop.git
cd node-red-desktop
npm install
npm run build
Node-RED Desktop
Home Page: https://sakazuki.github.io/node-red-desktop/
License: Apache License 2.0
This is a desktop application of Node-RED
git clone https://github.com/sakazuki/node-red-desktop.git
cd node-red-desktop
npm install
npm run build
This is just an idea, to be discussed..
Instead of launching a separate browser for the dashboard, could the IDE and the Dashboard be under the same app?
Is possible to use ngrok's Authtoken?
is useful to demo web app and classroom.
thanks.
Hi sakazuki,
thanks for your great work! I am usinf v1.2.2 and I noticed that both "Open a local URL" and "Open a pulic URL" (when connecting ngrok) are not working, sinche the browser replies with "Cannot GET /" in both cases.
Hope this may help.
Thanks in advance.
Best regards.
I'm comparing the command-line Node-RED (left) with the Node-RED-Desktop (right).
Some nodes are missing from the Node-RED-Desktop.
All those nodes are part of the standard node-red
package.
Is there a technical reason for the Node-RED-Desktop to not feature them? I'd be especially interested in the MQTT nodes.
How to activate them?
If I import a flow I can deploy it successfully, I can add nodes, in fact everything appears normal. I click save to save the flow. If I then shut down Node-RED Desktop and then re-start it there are no flows. I have tried this with one flow and two flows, everything is fine until I close Node-RED Desktop down, then when I reopen it there are no flows at all. Can someone please tell me what I am doing wrong. PC is Windows 10 * 64 and I used the NRD installer to install it.
A while back I installed Node-red desktop (same version) and imported my flows. Worked fine but had an issue with getting the file menu to appear so I could save the flow. (I didn't know about the Alt key). So I uninstalled and reinstalled the same version and imported the flow again. (same notepad file). Now I can neither save nor deploy. I get the following error (screenshot attached) "Deployment failed: {"code":"unexpected_error","message": "cannot read properties of null (reading "rev")}
I have tied importing the flows in small pieces to see if I can find which node has a problem. Doesn't appear to matter. Whatever I import I get this error. Anyone have any ideas? Thank you.
nodered error.pdf
Hello,
as I was investigating inside your code, after building it, I saw that you mention few directories:
Windows
%USERPROFILE%\.Node-RED-Desktop\
%USERPROFILE%\AppData\Local\Programs\Node-RED-Desktop\
%USERPROFILE%\AppData\Roaming\Node-RED-Desktop\
But is it possible NOT to use this folders and use only subfolders inside Node-red-desktop installation folder? and make it really portable?
Many thanks.
The last releases 0.9.5-beta
and 0.9.5-beta-2
only provide binaries for Windows.
Is macOS still supported?
Thank you!
i want to load an external npm node and it already done in "add a remote node" but it cannot load require
even i have following configuration at %USERPROFILE%\.Node-RED-Desktop\settings.js
module.exports = {
functionGlobalContext: {
require:require
}
}
or can make it default or able to config at "Settings..."? thanks.
With release v1.0.0-beta.5
, I'm facing the same error as #1.
node-red-node-serialport
from Node-RED-Desktop results in an error.-----------------------------------------------------------
2019-11-11T08:33:59.487Z Install : node-red-node-serialport 0.8.8
2019-11-11T08:33:59.503Z /Applications/Node-RED-Desktop.app/Contents/Resources/app.asar/node_modules/npm/bin/npm-cli.js install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2019-11-11T08:34:05.471Z [err] npm ERR! code EACCES
2019-11-11T08:34:05.472Z [err] npm ERR! syscall unlink
2019-11-11T08:34:05.472Z [err] npm ERR! path /Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile
2019-11-11T08:34:05.472Z [err] npm ERR! errno -13
2019-11-11T08:34:05.473Z [err] npm ERR! Error: EACCES: permission denied, unlink '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile'
2019-11-11T08:34:05.473Z [err] npm ERR! [OperationalError: EACCES: permission denied, unlink '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile'] {
2019-11-11T08:34:05.473Z [err] npm
2019-11-11T08:34:05.473Z [err] ERR! cause: [Error: EACCES: permission denied, unlink '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile'] {
2019-11-11T08:34:05.473Z [err] npm ERR! errno: -13,
2019-11-11T08:34:05.473Z [err] npm ERR! code: 'EACCES',
2019-11-11T08:34:05.473Z [err] npm ERR! syscall: 'unlink',
2019-11-11T08:34:05.473Z [err] npm ERR! path: '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile'
2019-11-11T08:34:05.473Z [err] npm ERR! },
2019-11-11T08:34:05.473Z [err] npm ERR! stack: "Error: EACCES: permission denied, unlink '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile'",
2019-11-11T08:34:05.473Z [err] npm ERR! errno: -13,
2019-11-11T08:34:05.473Z [err] npm ERR! code: 'EACCES',
2019-11-11T08:34:05.473Z [err] npm ERR! syscall: 'unlink',
2019-11-11T08:34:05.473Z [err] npm ERR! path: '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/.bindings.DELETE/build/Makefile',
2019-11-11T08:34:05.473Z [err] npm ERR! parent: '.Node-RED-Desktop'
2019-11-11T08:34:05.473Z [err] npm ERR! }
2019-11-11T08:34:05.473Z [err] npm ERR!
2019-11-11T08:34:05.473Z [err] npm ERR! The operation was rejected by your operating system.
2019-11-11T08:34:05.473Z [err] npm ERR! It is likely you do not have the permissions to access this file as the current user
2019-11-11T08:34:05.473Z [err] npm ERR!
2019-11-11T08:34:05.473Z [err] npm ERR!
2019-11-11T08:34:05.476Z [err] If you believe this might be a permissions issue, please double-check the
2019-11-11T08:34:05.476Z [err] npm ERR! permissions of the file and its containing directories, or try running
2019-11-11T08:34:05.476Z [err] npm ERR! the command again as root/Administrator.
2019-11-11T08:34:05.489Z [err]
2019-11-11T08:34:05.489Z [err] npm ERR! A complete log of this run can be found in:
2019-11-11T08:34:05.489Z [err] npm ERR!
2019-11-11T08:34:05.489Z [err] /Users/ReiVilo/.npm/_logs/2019-11-11T08_34_05_476Z-debug.log
2019-11-11T08:34:05.499Z rc=243
node-red-node-serialport
from command line succeeds...ReiVilo@MacBook .Node-RED-Desktop % sudo npm i node-red-node-serialport
Password:
> @serialport/[email protected] install /Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings
> prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
+ [email protected]
added 58 packages from 42 contributors, removed 1 package, updated 1 package and audited 471 packages in 2.677s
found 0 vulnerabilities
...but the Serial nodes are not available on the palette.
However, it fails with the following message:
Last login: Mon Nov 11 09:27:13 on ttys001
ReiVilo@MacBook ~ % cd .Node-RED-Desktop
ReiVilo@MacBook .Node-RED-Desktop % sudo npm install -g electron-rebuild
Password:
/usr/local/bin/electron-rebuild -> /usr/local/lib/node_modules/electron-rebuild/lib/src/cli.js
+ [email protected]
updated 1 package in 3.504s
ReiVilo@MacBook .Node-RED-Desktop % sudo electron-rebuild --version 7.1.1
✖ Rebuild Failed
An unhandled error occurred inside electron-rebuild
gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 2.7.16 found at "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/ReiVilo/.electron-gyp/7.1.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/ReiVilo/.electron-gyp/7.1.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/ReiVilo/.electron-gyp/7.1.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/bindings/src/serialport.o
../src/serialport.cpp:329:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/serialport.cpp:330:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/serialport.cpp:331:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/serialport.cpp:378:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
4 errors generated.
make: *** [Release/obj.target/bindings/src/serialport.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.0.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/electron-rebuild/node_modules/.bin/node-gyp" "rebuild" "--target=7.1.1" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
Failed with exit code: 1
Error: gyp info it worked if it ends with ok
gyp info using [email protected]
gyp info using [email protected] | darwin | x64
gyp info find Python using Python version 2.7.16 found at "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python"
gyp info spawn /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
gyp info spawn args [
gyp info spawn args '/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp/gyp/gyp_main.py',
gyp info spawn args 'binding.gyp',
gyp info spawn args '-f',
gyp info spawn args 'make',
gyp info spawn args '-I',
gyp info spawn args '/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings/build/config.gypi',
gyp info spawn args '-I',
gyp info spawn args '/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp/addon.gypi',
gyp info spawn args '-I',
gyp info spawn args '/Users/ReiVilo/.electron-gyp/7.1.1/include/node/common.gypi',
gyp info spawn args '-Dlibrary=shared_library',
gyp info spawn args '-Dvisibility=default',
gyp info spawn args '-Dnode_root_dir=/Users/ReiVilo/.electron-gyp/7.1.1',
gyp info spawn args '-Dnode_gyp_dir=/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp',
gyp info spawn args '-Dnode_lib_file=/Users/ReiVilo/.electron-gyp/7.1.1/<(target_arch)/node.lib',
gyp info spawn args '-Dmodule_root_dir=/Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings',
gyp info spawn args '-Dnode_engine=v8',
gyp info spawn args '--depth=.',
gyp info spawn args '--no-parallel',
gyp info spawn args '--generator-output',
gyp info spawn args 'build',
gyp info spawn args '-Goutput_dir=.'
gyp info spawn args ]
gyp info spawn make
gyp info spawn args [ 'BUILDTYPE=Release', '-C', 'build' ]
CXX(target) Release/obj.target/bindings/src/serialport.o
../src/serialport.cpp:329:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("cts").ToLocalChecked(), Nan::New<v8::Boolean>(data->cts));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/serialport.cpp:330:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("dsr").ToLocalChecked(), Nan::New<v8::Boolean>(data->dsr));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/serialport.cpp:331:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("dcd").ToLocalChecked(), Nan::New<v8::Boolean>(data->dcd));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
../src/serialport.cpp:378:14: error: no matching member function for call to 'Set'
results->Set(Nan::New<v8::String>("baudRate").ToLocalChecked(), Nan::New<v8::Integer>(data->baudRate));
~~~~~~~~~^~~
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3455:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context,
^
/Users/ReiVilo/.electron-gyp/7.1.1/include/node/v8.h:3458:37: note: candidate function not viable: requires 3 arguments, but 2 were provided
V8_WARN_UNUSED_RESULT Maybe<bool> Set(Local<Context> context, uint32_t index,
^
4 errors generated.
make: *** [Release/obj.target/bindings/src/serialport.o] Error 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/lib/node_modules/electron-rebuild/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:210:5)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:272:12)
gyp ERR! System Darwin 19.0.0
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/electron-rebuild/node_modules/.bin/node-gyp" "rebuild" "--target=7.1.1" "--arch=x64" "--dist-url=https://electronjs.org/headers" "--build-from-source"
gyp ERR! cwd /Users/ReiVilo/.Node-RED-Desktop/node_modules/@serialport/bindings
gyp ERR! node -v v12.13.0
gyp ERR! node-gyp -v v5.0.5
gyp ERR! not ok
Failed with exit code: 1
at SafeSubscriber._error (/usr/local/lib/node_modules/electron-rebuild/node_modules/spawn-rx/lib/src/index.js:267:84)
at SafeSubscriber.__tryOrUnsub (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.error (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:156:26)
at Subscriber._error (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:92:26)
at Subscriber.error (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:72:18)
at MapSubscriber.Subscriber._error (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:92:26)
at MapSubscriber.Subscriber.error (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:72:18)
at SafeSubscriber._next (/usr/local/lib/node_modules/electron-rebuild/node_modules/spawn-rx/lib/src/index.js:242:65)
at SafeSubscriber.__tryOrUnsub (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:205:16)
at SafeSubscriber.next (/usr/local/lib/node_modules/electron-rebuild/node_modules/rxjs/internal/Subscriber.js:143:22)
ReiVilo@MacBook .Node-RED-Desktop %
I'm using macOS 10.15.1 Catalina.
Setting environment variables in terminal on macOS does not seem to allow incoming connections. Example:
export NRD_LISTEN_IP=0.0.0.0
followed by running the binary in the .app from the command line does not change the listening to global. MacOS does warn for accepting incoming connections, though. The port equivalent does work.
Node-red Desktop crash during autoupdate when a network change occurs.
[2021-09-16 08:07:40.461] [error] Error: Error: net::ERR_NETWORK_CHANGED
at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:105:7068)
at SimpleURLLoaderWrapper.emit (events.js:315:20)
[2021-09-16 08:07:40.463] [info] Error in auto-updater. Error: net::ERR_NETWORK_CHANGED
[2021-09-16 08:07:40.776] [error] Error: net::ERR_NETWORK_CHANGED
at SimpleURLLoaderWrapper. (electron/js2c/browser_init.js:105:7068)
at SimpleURLLoaderWrapper.emit (events.js:315:20)
after this it is no longer possible to start nodered, it is necessary to restart the computer (Windows 10)
To Node-RED launched with Node-RED Desktop,
When I tried to access it from another computer on the same local network, I could not access.
Do I need to change any settings?
The same way ngrok
is included in Node-RED-Desktop, include a MQTT broker, e.g, mosquitto
.
Eclipse Mosquitto™ An open source MQTT broker at https://mosquitto.org
More generally, the idea would consist on launching and optionally on including services that are commonly used with Node-RED.
I don't know if it's been asked before, how do you run multiple instances of node-red-desktop? I tried using 2 separate folders with 2 user directories, but they seem to launch using the same default settings. Thank you.
Hi
I just upgraded to the 2.1.0 version and wondered why I was getting so many errors showing on my nodes
Eventually, I realised they were not errors but warnings :)
Nice feature (for developers) but I think the warnings should not be enabled as a default
Launching Node-RED-Desktop release 0.9.1
raises the following error:
Error: schema with key or id "http://json-schema.org/draft-06/schema" already exists (line:22)
The very same flow worked fine with previous version 0.9.0 beta 2
.
When performing a fresh install of Node-RED-Desktop release 0.9.1
, the json
node is missing.
I have been using node-red-desktop for a while on many PCs without problem. However, starting this morning, when I launched node-red-desktop, the New, Save, open local url, and other menus are disabled, but the Settings menu is still enabled. I tried to remove the installation, remove the user directories on Windows, re-installed but the problem persists. Any pointers? Thank you.
That :)
would be great to have a linux packaged version.
Thanks!
Very often, updating nodes through the Palette requires restarting Node-RED.
The View menu offers the Reload command to refresh the screen.
The idea is to add a command to relaunch the underlying Node-RED service.
I see that you can set the user directory but is there a way to change the other two locations (in windows)?
executable location: C:\Users\xxxxx\AppData\Local\Programs\node-red-desktop\
caches, strorage, etc.: C:\Users\xxxxx\AppData\Roaming\Node-RED-Desktop\
I am attempting to make this as portable as possible. Thanks.
Contrary to previous releases, Node-RED Desktop v1.2.2 isn't available as a binary for macOS.
So I try to build it by myself. I followed the procedure and faced some issues.
% npm install
% npm run build
> [email protected] build /Users/USER/Downloads/node-red-desktop-1.2.2
> tsc && node build.js
node_modules/ngrok/ngrok.d.ts:1:66 - error TS7016: Could not find a declaration file for module 'request'. '/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/request/index.js' implicitly has an 'any' type.
Try `npm i --save-dev @types/request` if it exists or add a new declaration (.d.ts) file containing `declare module 'request';`
1 import { CoreOptions, Request, RequestAPI, RequiredUriUrl } from 'request';
~~~~~~~~~
Using the recommended command solved this first issue.
% npm i --save-dev @types/request
However, building failed with two errors.
% npm run build
Error #1 --------------------------------------------------------------------------------
TypeError: Cannot read property 'provider' of null
at createUpdateInfoTasks (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/app-builder-lib/src/publish/updateInfoBuilder.ts:110:44)
Error #2 --------------------------------------------------------------------------------
TypeError: Cannot read property 'provider' of null
at createUpdateInfoTasks (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/app-builder-lib/src/publish/updateInfoBuilder.ts:110:44)
at throwError (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/builder-util/src/asyncTaskManager.ts:90:11)
at checkErrors (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/builder-util/src/asyncTaskManager.ts:53:9)
at AsyncTaskManager.awaitTasks (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/builder-util/src/asyncTaskManager.ts:58:5)
at PublishManager.awaitTasks (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/app-builder-lib/src/publish/PublishManager.ts:210:28)
at /Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/app-builder-lib/src/index.ts:94:32
at executeFinally (/Users/USER/Downloads/node-red-desktop-1.2.2/node_modules/builder-util/src/promise.ts:25:9)
at /Users/USER/Downloads/node-red-desktop-1.2.2/build.js:38:17
Thank you and best regards,
Hi,
I've read previous problem about that, but it seems there's still problem with that.
Tested on Windows 7 & 10, with command line:
Node-RED-Desktop.exe NRD_LISTEN_IP=192.168.0.200 NRD_LISTEN_PORT=1880 NRD_IP_ALLOWS=192.168.0.200,192.168.0.100
But I can acces to server only with http://127.0.0.1/1880/admin
And when I launch this command line, in console I have a script opening and readable in console, quite strange...
Am I wrong? Is there something I missed? Thanks for help.
Is is possible to enable HTTPS?
I tried putting the HTTPS code from node-red into a settings.js file but that did not work.
Please find a couple of issues.
When I launch Node-RED-Desktop 0.9.1
, I'm prompted to download the new release 0.9.2
.
However, download fails with the following message:
0.9.2
goes back to 0.9.1
!So I've downloaded and installed release 0.9.2
manually.
However, after a couple of launches, Node-RED-Desktop returns to release 0.9.1
!
What is going on? Thank you!
Hi,
I would like to launch your node-red-desktop and changing few parameters, but if I change in source code, after an update I think I'll lose my parameters compiled exe release.
Could it possible to luanche like "Node-RED-Desktop.exe --NRD_LISTEN_PORT=888", or use a 'conf.env' file at root of appplication for specific user variable?
Many thanks for your help, that's very useful!!!
Hi Sakazuki, thanks for your work ,
It would be nice to add support for persistent variables. At each update of NRD I lose all my measurements. Maybe, are you already working on it? ;)
Fail to launch v2.0.0-beta.1
[2021-08-10 20:59:39.591] [info] [
'C:\\Users\\testuser\\AppData\\Local\\Programs\\node-red-desktop\\Node-RED-Desktop.exe'
]
[2021-08-10 20:59:42.849] [error] TypeError: Cannot read property 'withFileTypes' of null
at e.readdir (electron/js2c/asar_bundle.js:5:9862)
at go$readdir (C:\Users\testuser\AppData\Local\Programs\node-red-desktop\resources\app.asar\node_modules\fs-extra\node_modules\graceful-fs\graceful-fs.js:201:14)
at Object.readdir (C:\Users\testuser\AppData\Local\Programs\node-red-desktop\resources\app.asar\node_modules\fs-extra\node_modules\graceful-fs\graceful-fs.js:198:12)
at Object.readdir (C:\Users\testuser\AppData\Local\Programs\node-red-desktop\resources\app.asar\node_modules\universalify\index.js:5:57)
at C:\Users\testuser\AppData\Local\Programs\node-red-desktop\resources\app.asar\node_modules\@node-red\util\lib\i18n.js:53:16
at new Promise (<anonymous>)
at C:\Users\testuser\AppData\Local\Programs\node-red-desktop\resources\app.asar\node_modules\@node-red\util\lib\i18n.js:51:16
at processTicksAndRejections (internal/process/task_queues.js:93:5)
Please find some suggestions to improve the consistency of the interface between Node-RED Desktop and other macOS applications.
Hi,
is there a solution to bind Node-Red-Desktop to a fix local port?
After every start Node-Red-Desktop is arrival over a different port.
Ngrok is not a solution, I don't need access from the Internet. Only local networks or local computer.
Thank Ron
タイトル通りですが、未保存状態の時に確認ダイアログを表示してほしいです。
通常のNode-redと並行して利用させていただいておりますが通常版だとデプロイのみで
保存まで行われフローが失われることがないのですがDesktop版だと同じ動作でフローが
失われる結果になり手戻りが発生しています。
どうぞよろしく願いいたします。
Hello,
When i run Node-RED-Desktop_Setup_1.2.3.exe it install Nod-red 1.2.7 from the information it looks like it suppose to install 1.2.9
Trying to install node-red-node-email from the palette manager and it fails. Here is the log. I have been able to install other nodes without issue.
2020-11-10T16:15:30.158Z Install : node-red-node-email 1.8.2
2020-11-10T16:15:30.189Z C:\Users\user\AppData\Local\Programs\node-red-desktop\resources\app.asar\node_modules\npm\bin\npm-cli.js install --no-audit --no-update-notifier --no-fund --save --save-prefix="~" --production [email protected]
2020-11-10T16:15:32.859Z [err] npm WARN lifecycle npm is using C:\Users\user\AppData\Local\Programs\node-red-desktop\Node-RED-Desktop.exe but there is no node binary in the current PATH. Use the --scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
2020-11-10T16:15:32.859Z [out]
2020-11-10T16:15:32.859Z [out] > [email protected] postinstall C:\Users\user.Node-RED-Desktop\node_modules\mailparser\node_modules\nodemailer
2020-11-10T16:15:32.859Z [out] > node -e "try{require('./postinstall')}catch(e){}"
2020-11-10T16:15:32.859Z [out]
2020-11-10T16:15:32.909Z [err] 'node' is not recognized as an internal or external command,
2020-11-10T16:15:32.909Z [err] operable program or batch file.
2020-11-10T16:15:32.990Z [err] npm ERR! code ELIFECYCLE
2020-11-10T16:15:32.990Z [err] npm ERR! errno 1
2020-11-10T16:15:32.993Z [err] npm ERR! [email protected] postinstall: node -e "try{require('./postinstall')}catch(e){}"
2020-11-10T16:15:32.993Z [err] npm ERR! Exit status 1
2020-11-10T16:15:32.993Z [err] npm ERR!
2020-11-10T16:15:32.993Z [err] npm ERR! Failed at the [email protected] postinstall script.
2020-11-10T16:15:32.993Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2020-11-10T16:15:33.025Z [err]
2020-11-10T16:15:33.025Z [err] npm ERR! A complete log of this run can be found in:
2020-11-10T16:15:33.025Z [err] npm ERR! C:\Users\user\AppData\Roaming\npm-cache_logs\2020-11-10T16_15_32_994Z-debug.log
2020-11-10T16:15:33.043Z rc=1
Please find the log when I try to install node-red-node-serialport
using the menu Manage palette.
2019-05-24T07:33:48.514Z Install : node-red-node-serialport 0.8.1
2019-05-24T07:33:48.517Z /Users//Desktop/Node-RED-Desktop.app/Contents/Resources/app.asar/node_modules/npm/bin/npm-cli.js install --no-audit --no-update-notifier --save --save-prefix="~" --production [email protected]
2019-05-24T07:33:50.029Z [err] npm WARN
2019-05-24T07:33:50.029Z [err] lifecycle npm is using /Users//Desktop/Node-RED-Desktop.app/Contents/Frameworks/Node-RED-Desktop Helper.app/Contents/MacOS/Node-RED-Desktop Helper but there is no node binary in the current PATH. Use the--scripts-prepend-node-path
option to include the path for the node binary npm was executed with.
2019-05-24T07:33:50.029Z [out]
2019-05-24T07:33:50.029Z [out] > @serialport/[email protected] install /Users//.Node-RED-Desktop/node_modules/@serialport/bindings
2019-05-24T07:33:50.029Z [out] > prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2019-05-24T07:33:50.029Z [out]
2019-05-24T07:33:50.036Z [err] env: node: No such file or directory
2019-05-24T07:33:50.037Z [err] sh: node-gyp: command not found
2019-05-24T07:33:50.186Z [err] npm ERR! file sh
2019-05-24T07:33:50.187Z [err] npm ERR! code ELIFECYCLE
2019-05-24T07:33:50.187Z [err] npm ERR! errno ENOENT
2019-05-24T07:33:50.187Z [err] npm ERR! syscall spawn
2019-05-24T07:33:50.187Z [err] npm ERR! @serialport/[email protected] install:prebuild-install --tag-prefix @serialport/bindings@ || node-gyp rebuild
2019-05-24T07:33:50.187Z [err] npm ERR! spawn ENOENT
2019-05-24T07:33:50.187Z [err] npm
2019-05-24T07:33:50.187Z [err] ERR!
2019-05-24T07:33:50.187Z [err] npm ERR! Failed at the @serialport/[email protected] install script.
2019-05-24T07:33:50.187Z [err] npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
2019-05-24T07:33:50.211Z [err]
2019-05-24T07:33:50.211Z [err] npm
2019-05-24T07:33:50.212Z [err] ERR! A complete log of this run can be found in:
2019-05-24T07:33:50.212Z [err] npm ERR! /Users//.npm/_logs/2019-05-24T07_33_50_191Z-debug.log
2019-05-24T07:33:50.220Z rc=1
Thank you!
Node-Red desktop is great app for quickly prototyping ideas and testing logic and APIs.
Please also look at https://n8n.io/ which offer many connectors to popular services out-of-the-box and can be used with Node-Red to consume these services.
It will be great to have a similar desktop version of n8n.io.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.