I am very interested in getting Theia set up on my Littlest JupyterHub installation.
But - I realize I do not understand the install instructions.
Specifically, I have followed all the instructions in that page, for my Ubuntu 20.04 setup, summarized below. All commands via the Terminal offered from the JupyterHub interface drop-down, using Jupyter notebook classic.
# https://github.com/nodesource/distributions#debinstall
curl -fsSL https://deb.nodesource.com/setup_12.x | sudo -E bash -
sudo apt-get install -y nodejs
# https://classic.yarnpkg.com/en/docs/install/#debian-stable
sudo npm install --global yarn
# Dependencies for build
sudo apt install -y pkg-config libsecret-1-dev
# https://theia-ide.org/docs/composing_applications
mkdir theia-install
cd theia-install
cat << EOF >> package.json
{
"private": true,
"dependencies": {
"@theia/callhierarchy": "next",
"@theia/file-search": "next",
"@theia/git": "next",
"@theia/markers": "next",
"@theia/messages": "next",
"@theia/mini-browser": "next",
"@theia/navigator": "next",
"@theia/outline-view": "next",
"@theia/plugin-ext-vscode": "next",
"@theia/preferences": "next",
"@theia/preview": "next",
"@theia/search-in-workspace": "next",
"@theia/terminal": "next"
},
"devDependencies": {
"@theia/cli": "next"
}
}
EOF
sudo yarn
sudo yarn theia build
I have also run:
sudo pip install jupyter-server-proxy
Following @betatim’s recipe, I then ran:
sudo jupyter server extension enable --sys-prefix --py jupyter_server_proxy
I have restarted my JupyterHub, and checked that /home/jupyter-admin/theia-install/node_modules/.bin
is, as expected, on the root user’s PATH.
My confusion now is - how do I debug my installation? Can y’all point me to somewhere I can start?
Many thanks for any help.