Problems to install Node-red in Ubuntu 18.04

Hi,

Before begining I want to clarify that I am a Windows user, so please, be patient! :slight_smile:

I have just install node-red following the link: https://www.techunits.com/topics/setup-guides/step-by-step-guide-to-install-node-red-on-ubuntu-18-04-lts/

Unfortunately when I try to execute node-red I obtain the following output:

/usr/local/lib/node_modules/node-red/node_modules/universalify/index.js:15
  }, 'name', { value: fn.name })
                         ^

TypeError: Cannot read property 'name' of undefined
    at exports.fromCallback (/usr/local/lib/node_modules/node-red/node_modules/universalify/index.js:15:26)
    at Object.<anonymous> (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/fs/index.js:57:27)
    at Module._compile (module.js:652:30)
    at Object.Module._extensions..js (module.js:663:10)
    at Module.load (module.js:565:32)
    at tryModuleLoad (module.js:505:12)
    at Function.Module._load (module.js:497:3)
    at Module.require (module.js:596:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/local/lib/node_modules/node-red/node_modules/fs-extra/lib/index.js:5:6)

Could you help me, please?
Thanks in advance!
Regards,
Ariel

for debian based systems, try the official script method...

https://nodered.org/docs/getting-started/local

Hi Steve!

I tried with this method yesterday successfully! :hugs: But before that I installed Ubuntu 20.04.

Thanks a lot for your quick response.
Have a nice day,
Ariel

1 Like