yu210148 / gvm_install

A script to install GVM 20 or 21 on Ubuntu 20.04 or Debian 10.
GNU General Public License v3.0
143 stars 72 forks source link

yarnpkg failing for version 22 #95

Open yu210148 opened 1 year ago

yu210148 commented 1 year ago

Looks like the yarnpkg command is failing on line 361 with:

yarn install v1.22.19 [1/5] Validating package.json... error gsa@22.4.1: The engine "node" is incompatible with this module. Expected version ">=14.0". Got "12.22.9" error Found incompatible module.

I suspect this has to do with that repository it adds into /etc/apt/sources.list.d/yarn.list but I'm not sure yet.

yu210148 commented 1 year ago

Looks like this may also be affecting line 124/5 yarn install & yarn upgrade too.

yu210148 commented 1 year ago

Yes, I believe the issue is with how it's dealing with yarn and node js. Dropping these links with more info:

https://classic.yarnpkg.com/en/docs/cli/install

https://yarnpkg.com/getting-started/install

yu210148 commented 1 year ago

The instructions at https://greenbone.github.io/docs/latest/22.4/source-build/index.html also suggest it's going to have to build something called pg-gvm

I also see something about exporting a 'NODE_VERSION' in the gsa build instructions there.

yu210148 commented 1 year ago

Just had someone report that they ran into this on Debian as well.

yu210148 commented 1 year ago

Hi All,

I made some progress on this today in the issue95 branch. Still don't know if it works and haven't dealt with this pg-gvm business yet but at least I got it to build the gsa so I thought I'd update this thread.

backl1n commented 1 year ago

@yu210148 salut jai le meme probleme as tu trouver une solution ?

backl1n commented 1 year ago

je suis sous ubuntu server 20.04

yu210148 commented 1 year ago

I'm afraid not. I added in some code to build the pg-gvm component then life got in the way and I haven't gotten around to getting any more work done on it.