That method doesn’t work with Jetpack 4.5.1/L4T 32.5.1
There was a problem with nodejs and npm version required by jupyterlab.
Here’s what worked for me
# install node manually
wget https://nodejs.org/dist/v16.0.0/node-v16.0.0-linux-arm64.tar.gz
tar -zxvf node-v16.0.0-linux-arm64.tar.gz
sudo cp node-v16.0.0-linux-arm64 /etc/node-v16.0.0 -r
sudo ln -s /etc/node-v16.0.0/bin/node /usr/bin/node
sudo ln -s /etc/node-v16.0.0/bin/npm /usr/bin/npm
sudo ln -s /etc/node-v16.0.0/bin/npx /usr/bin/npx
#follow the rest of steps
sudo apt install python3-pip
sudo pip3 install jupyter jupyterlab
sudo jupyter labextension install @jupyter-widgets/jupyterlab-manager
jupyter lab --generate-config