# Installation Failure Help

**URL:** <https://discourse.nodered.org/t/installation-failure-help/35065>\
**Category:** General\
**Created:** [30 October 2020 09:02 UTC](https://discourse.nodered.org/t/installation-failure-help/35065 "2020-10-30T09:02:03Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sc00by](https://avatars.discourse-cdn.com/v4/letter/s/58956e/32.png) [@Sc00by](https://discourse.nodered.org/u/Sc00by)\
**Post date:** [30 October 2020 09:02 UTC](https://discourse.nodered.org/t/installation-failure-help/35065/1 "2020-10-30T09:02:04Z")

</div>

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:

```auto
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](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](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)

---

<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:** [29 December 2020 09:02 UTC](https://discourse.nodered.org/t/installation-failure-help/35065/2 "2020-12-29T09:02:06Z")

</div>

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