# Unable to start Node-red upon boot

**URL:** <https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353>\
**Category:** General\
**Created:** [31 October 2019 05:50 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353 "2019-10-31T05:50:08Z")\
**Posts on this page:** 1\
**Showing post:** 54

<div class="post-metadata">

**Author:** ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)\
**Post date:** [1 June 2020 13:51 UTC](https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353/54 "2020-06-01T13:51:41Z")

</div>

OK - lets revert to basics..  
clear out all the old stuff - nuke it from space.  
`apt purge nodejs npm`  
`rm -rf /usr/bin/node*`  
`rm -rf /usr/lib/node_modules/*`  
`rm /root/.npm-packages/bin/node-red`  
`rm /var/log/nodered-install.log`  
then check that `node -v` returns blank or not found and `node-red-start` is also not found.  
then re run the bash script.  
then do a `node -v` and `npm -v` and `which node-red-pi` to check where things are...  
then hopefully a `node-red-start`

---

_[View the full topic](https://discourse.nodered.org/t/unable-to-start-node-red-upon-boot/17353)._
