Problem installing Pop Shell on Zorin 16.3

Hi and welcome to the ZorinOS forum!

Those are TypeScript errors, probably due to an unsupported version of Node.js and/or TypeScript compiler being used. Run node -v on a terminal window to check your current version, anything below 18 is unsupported.

If that is the case I would strongly suggest to remove your current installation of both TypeScript and Node.js and re-install it again. To remove them:

sudo npm remove typescript
sudo apt purge nodejs

Here are some general instructions on how to install it:
[Note from future self: Crosslinking an easier set of instructions here for installing Node.js:

The below is the original set, left for the integrity of the record. ]

  1. Install Node.js following these instructions from the official documentation.

  2. Install TypeScript for the current user (for safety and convenience is best to avoid installing packages globally):

    mkdir ~/.npm-global
    npm config set prefix '~/.npm-global'
    
    # Make sure to add this to your `~/.profile` or `~/.bashrc` to ensure this location is always available, not only during this terminal session.
    export PATH=~/.npm-global/bin:$PATH
    
    npm install -g typescript
    

    Please do not use node-typescript as it's severely outdated (last updated 11 years ago).

  3. Download the appropriate branch of the pop-shell repository. Since ZorinOS 16 is based off of Ubuntu 20.04, you need to use the Jammy Focal branch:

[Note from Future self:
I just noticed I messed up badly in writing those instructions. Where I say:

-Download the appropriate branch of the pop-shell repository. Since ZorinOS 16 is based off of Ubuntu 20.04, you need to use the Jammy branch:
+Download the appropriate branch of the pop-shell repository. Since ZorinOS 16 is based off of Ubuntu 20.04, you need to use the Focal branch:

The steps are the same, you just need to pay attention to which branch you're installing. Use the branches master_focal or master_jammy for Zorin OS 16 and 17, respectively. ]

git clone --branch master_focal https://github.com/pop-os/shell.git
  1. Switch to the downloaded repository and install:
    cd shell
    make local-install
    

5 Likes