pop-os / shell

Pop!_OS Shell
GNU General Public License v3.0
4.77k stars 262 forks source link

Can't build on ubuntu 22.04 #1695

Closed leodumont closed 5 months ago

leodumont commented 5 months ago

Compilation on ubuntu 22.04 failed

make local-install returned following error :

tsconfig.json:19:19 - error TS4124: Compiler option 'module' of value 'nodenext' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'.

19         "module": "NodeNext"
                     ~~~~~~~~~~

Found 1 error.

TipeScript version :

tsc -v
Version 4.5.4

npm version :

npm -v
10.2.4
mmstick commented 5 months ago

You have a node installation in your home folder probably. You can't build this if any parent directory has node installed.

leodumont commented 5 months ago

Thanks for your help.

If i'm not mistaken, I don't have a node install in home directory :

which -a node
/usr/bin/node
/bin/node
leodumont commented 5 months ago

I finally get what was wong : forgot to checkout to the jammy branche after git clone... If anyone needs it :

git clone https://github.com/pop-os/shell.git
cd shell
git checkout master_jammy
make local-install
tmeijn commented 5 months ago

I finally get what was wong : forgot to checkout to the jammy branche after git clone... If anyone needs it :

git clone https://github.com/pop-os/shell.git
cd shell
git checkout master_jammy
make local-install

You can also do git clone https://github.com/pop-os/shell.git --branch master_jammy