Bug fix: Install first the npm package#147
Bug fix: Install first the npm package#147hilarioaraujo wants to merge 1 commit intostephendade:masterfrom
Conversation
I was trying to install the Rpanion and I received a bug message in the npm installation. Then i discovered and fix. First it's needed to install the npm package with "apt install npm" then we have to install the react-scripts with the "npm install"
|
npm is installed here: https://github.com/stephendade/Rpanion-server/blob/master/deploy/RasPi2-3-4-deploy.sh#L34, as part of the nodejs package. |
|
@hilarioaraujo what was the bug? what hardware are you using? what OS? |
|
I am sorry for the late sir. |
|
When I was trying install the Rpanion in Raspberry 4 with ubuntu 22.04 OS appear a error in the npm installation. I opened the bash file of installation and appear that the npm method install is wrong, and i change it. I change this: to this: In this way, I was succeed in the installation. |
|
It's possible npm failed to install on the system during the nodejs install process; I've seen failures on boards other than Raspi that weren't handled. |
|
@tmarkson Is it possible for the script to do more, such as: |
3ce7964 to
c083bb7
Compare
I was trying to install the Rpanion and I received a bug message in the npm installation. Then i discovered and fix. First it's needed to install the npm package with "apt install npm" then we have to install the react-scripts with the "npm install"