Quick start - cannot find module 'express'

Hubert,

I removed all route admin file and following manual steps.

I run the following command and I get the following error (Err:5 Index of /deb/ all InRelease
The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com). Also, I found this link Apt update - invalid signatures - fresh system reinstall. First command is $ su root. and it appears from second comment that it should be “sudo su root” not “su root”. Works.

$ husarion@husarion:~/husarion_ws/src$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

Installing the NodeSource Node.js 12.x repo…

Populating apt-get cache…

Confirming “bionic” is supported…

Adding the NodeSource signing key to your keyring…

Creating apt sources list file for the NodeSource Node.js 12.x repo…

Running apt-get update for you…

Run sudo apt-get install -y nodejs to install Node.js 12.x and npm

You may also need development tools to build native addons:

 sudo apt-get install gcc g++ make

To install the Yarn package manager, run:

 curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
 echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
 sudo apt-get update && sudo apt-get install yarn

husarion@husarion:~/husarion_ws/src$ su root
Password:
su: Authentication failure
husarion@husarion:~/husarion_ws/src$ su root
Password:
su: Authentication failure
husarion@husarion:~/husarion_ws/src$ cd …
husarion@husarion:~/husarion_ws$ dir
build devel src
husarion@husarion:~/husarion_ws$ cd …
husarion@husarion:~$ dir
Desktop Downloads Pictures Templates flash_firmware.sh husarion_ws rosbot-2.0-fw-v0.10.1.bin
Documents Music Public Videos gpio_lib_python ros_workspace stm32loader
husarion@husarion:~$ su root
Password:
su: Authentication failure
husarion@husarion:~$ sudo apt-get install gcc g++ make
Reading package lists… Done
Building dependency tree
Reading state information… Done
make is already the newest version (4.1-9.1ubuntu1).
make set to manually installed.
g++ is already the newest version (4:7.4.0-1ubuntu2.3).
g++ set to manually installed.
gcc is already the newest version (4:7.4.0-1ubuntu2.3).
gcc set to manually installed.
The following packages were automatically installed and are no longer required:
python-rosdep ros-melodic-ros-type-introspection
Use ‘sudo apt autoremove’ to remove them.
0 upgraded, 0 newly installed, 0 to remove and 444 not upgraded.
husarion@husarion:~$ curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
OK
husarion@husarion:~$
husarion@husarion:~$ echo “deb https://dl.yarnpkg.com/debian/ stable main” | sudo tee /etc/apt/sources.list.d/yarn.list
deb https://dl.yarnpkg.com/debian/ stable main
husarion@husarion:~$ sudo apt-get update && sudo apt-get install yarn
Get:1 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
Hit:2 Index of /node_12.x/ bionic InRelease
Hit:3 Index of /ubuntu-ports bionic InRelease
Hit:4 Index of /ubuntu-ports bionic-security InRelease
Hit:5 Index of /ubuntu-ports bionic-updates InRelease
Hit:6 http://packages.ros.org/ros/ubuntu bionic InRelease
Get:7 https://dl.yarnpkg.com/debian stable/main all Packages [10.1 kB]
Get:8 Index of /deb/ all InRelease [14.2 kB]
Get:9 https://dl.yarnpkg.com/debian stable/main armhf Packages [10.1 kB]
Err:8 Index of /deb/ all InRelease
The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
Fetched 51.4 kB in 2s (21.7 kB/s)
Reading package lists… Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of /deb/ all InRelease: The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Failed to fetch https://install.husarnet.com/deb/dists/all/InRelease The following signatures were invalid: EXPKEYSIG 197D62F68A4C7BD6 Husarnet Authors contact@husarnet.com
W: Some index files failed to download. They have been ignored, or old ones used instead.
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following packages were automatically installed and are no longer required:
python-rosdep ros-melodic-ros-type-introspection
Use ‘sudo apt autoremove’ to remove them.
The following NEW packages will be installed:
yarn
0 upgraded, 1 newly installed, 0 to remove and 444 not upgraded.
Need to get 891 kB of archives.
After this operation, 5407 kB of additional disk space will be used.
Get:1 https://dl.yarnpkg.com/debian stable/main armhf yarn all 1.22.5-1 [891 kB]
Fetched 891 kB in 0s (2404 kB/s)
Selecting previously unselected package yarn.
(Reading database … 150128 files and directories currently installed.)
Preparing to unpack …/archives/yarn_1.22.5-1_all.deb …
Unpacking yarn (1.22.5-1) …
Setting up yarn (1.22.5-1) …
husarion@husarion:~$

Thanks
Vineet