Closed Roonil closed 9 months ago
Kali Linux is based on Debian testing, which packages tsc version 4.8.4 while the current version is 5.3.3. I don't know what breaking change occurred since then resulting in this. You can edit the src/meson.build
file to use npx tsc
instead of tsc
to use the npm version instead of the one packaged for your distro. It will already be installed by npm install
and is the most recent version. I tested this in distrobox with debian testing and this worked.
This is strange. I edited the meson.build in src but I still experienced issues. However, upon reverting the meson.build file and trying to update several node libraries (including npm and tsc) I still received errors but this time ags compiled successfully (using tsc 4.8.4 itself). I don't know what actually fixed it but it works for now.
Yupp
Kali Linux is based on Debian testing, which packages tsc version 4.8.4 while the current version is 5.3.3. I don't know what breaking change occurred since then resulting in this. You can edit the src/meson.build file to use npx tsc instead of tsc to use the npm version instead of the one packaged for your distro. It will already be installed by npm install and is the most recent version. I tested this in distrobox with debian testing and this worked.
This one helped me on my Ubuntu systems. Finally got it installed! Thankyou @kotontrion
Using the up-to-date system packages here. Also, I've installed Ubuntu pre-requisites from the wiki. Whenever I try meson install -C build, the build fails with the following message:
meson setup build
produces no issues, and I've confirmed that there's no existing node_modules directory in any of the parent folders. I tried running npm install and also the .tar.gz packages from the release, but I always get the same error. Seems like some import issue to me. I've also verified that the conflicting files do exist in node_modules/@girs directory and they also seem to have the .d.ts files.