Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

yarnpkg failing for version 22 #95

Open
yu210148 opened this issue Apr 22, 2023 · 8 comments
Open

yarnpkg failing for version 22 #95

yu210148 opened this issue Apr 22, 2023 · 8 comments

Comments

@yu210148
Copy link
Owner

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

yarn install v1.22.19
[1/5] Validating package.json...
error [email protected]: 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
Copy link
Owner Author

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

@yu210148
Copy link
Owner Author

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
Copy link
Owner Author

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
Copy link
Owner Author

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

@yu210148
Copy link
Owner Author

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
Copy link

backl1n commented Jun 20, 2023

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

@backl1n
Copy link

backl1n commented Jun 20, 2023

je suis sous ubuntu server 20.04

@yu210148
Copy link
Owner Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants