View previous topic :: View next topic |
Author |
Message |
SDD701 n00b
Joined: 18 Feb 2023 Posts: 20
|
Posted: Thu Jul 18, 2024 6:59 pm Post subject: How to ebuild npm dependend software properly? |
|
|
Hi. I want to write a freetube ebuild. Looks like I need to run Code: | npm install npm-run-all && npm ci && npm lint && npm build | to do it. But after I get the source code everything is sandboxed. What can I do?
FEATURES=" -network-sandbox"
1. Not working
2. Doesn't sound right |
|
Back to top |
|
|
logrusx Advocate
Joined: 22 Feb 2018 Posts: 2397
|
Posted: Thu Jul 18, 2024 7:39 pm Post subject: Re: How to ebuild npm dependend software properly? |
|
|
SDD701 wrote: | What can I do? |
Give it up. It's not worth it. You need to prepare everything that's necessary for an offline compilation, host it somewhere, take care in src_prepare to prepare everything so that npm doesn't need to connect to the Internet. I don't know if that's even possible.
And yes, it's not right to disable network sandbox. It's a security risk.
Best Regards,
Georgi |
|
Back to top |
|
|
|