Installation Failure Help

Hello,

I am falling at the first hurdle in trying to simply install node-red on my CentOS machine. I have ran the CentOS installer from here:

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/rpm/update-nodejs-and-nodered)

All seems good but when I issue node-red-start I get the error (sorry for not being able to wrap it in a code box but I don't have the option to in this editor);

node-red-start

Start Node-RED

Once Node-RED has started, point a browser at http://10.255.0.2:1880
On Pi Node-RED works better with the Firefox or Chrome browser

Use sudo systemctl enable nodered.service to autostart Node-RED at every boot
Use sudo systemctl disable nodered.service to disable autostart on boot

To find more nodes and example flows - go to http://flows.nodered.org
/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/api/flows.js:52
getFlows: async function(opts) {
^^^^^^^^

SyntaxError: Unexpected token function
at createScript (vm.js:56:10)
at Object.runInThisContext (vm.js:97:10)
at Module._compile (module.js:549:28)
at Object.Module._extensions..js (module.js:586:10)
at Module.load (module.js:494:32)
at tryModuleLoad (module.js:453:12)
at Function.Module._load (module.js:445:3)
at Module.require (module.js:504:17)
at require (internal/module.js:20:19)
at Object. (/usr/lib/node_modules/node-red/node_modules/@node-red/runtime/lib/api/index.js:34:12)

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