Comments (4)
Hey @Hector68, thanks for raising the issue.
I will check if there are any downsides in always adding --no-sandbox
so we don't need another option to be added. On the other hand, are you sure you need to run magepack as root user?
from magepack.
I use a docker . But if I run it by another user I will get error
ERROR Failed to launch the browser process! 12:24:07
[0407/122406.949479:FATAL:zygote_host_impl_linux.cc(116)] No usable sandbox! Update your kernel or see https://chromium.googlesource.com/chromium/src/+/master/docs/linux_suid_sandbox_development.md for more information on developing with the SUID sandbox. If you want to live dangerously and need an immediate workaround, you can try using --no-sandbox.
#0 0x556d8f89e219 base::debug::CollectStackTrace()
#1 0x556d8f802363 base::debug::StackTrace::StackTrace()
#2 0x556d8f814195 logging::LogMessage::~LogMessage()
#3 0x556d9109000e service_manager::ZygoteHostImpl::Init()
#4 0x556d8f40bf27 content::ContentMainRunnerImpl::Initialize()
#5 0x556d8f45aafa service_manager::Main()
#6 0x556d8f40a501 content::ContentMain()
#7 0x556d8f4598f5 headless::(anonymous namespace)::RunContentMain()
#8 0x556d8f45959d headless::HeadlessShellMain()
#9 0x556d8cfceaa7 ChromeMain
#10 0x7f5f6ffe72e1 __libc_start_main
#11 0x556d8cfce8ea _start
from magepack.
Can confirm that this solves the same issue:
Since this is a tool intended for use with build pipelines, I see no harm in disabling sandbox functionality. If you serve an application from source code that is infected with XSS or CSRF content which could exploit the the host, then you have a larger problem than to worry about!
from magepack.
Released in 2.2.1
from magepack.
Related Issues (20)
- magepack bundle - DeprecationWarning: Invalid 'main' field in '/usr/local/lib/node_modules/magepack/node_modules/generate-sourcemap/package.json' of 'generate-sourcemap.js'. Please either fix that or report it to the module author HOT 5
- magepack generate is hanging and on debug showing error HOT 2
- One big js still creating HOT 4
- How to generate config file before each deployment
- bundlingConfig.forEach is not a function Getting issue HOT 1
- Error javascript after bundling process HOT 10
- Terser Minify-Error: Unexpected token: punc (.) HOT 8
- cms pages allows generate zero items HOT 1
- Module suddenly stopped working HOT 2
- Magento 2.4.5 issues HOT 28
- Issue with JS after update to 2.11.0 HOT 5
- Version 2.11.0 causing error in require.min.js HOT 1
- Issue with JS after update to 2.11.2 HOT 1
- SQL insert issues when reindex is trigger by cron HOT 1
- Vimeo js configs aren't being generated properly HOT 1
- [email protected]: < 18.1.0 is no longer supported HOT 4
- Generate doesn't work with ARM/Graviton server HOT 1
- bundle-common.js and page specific bundle-*.js is loaded 2 times on the page load HOT 5
- "JS_Parse_Error [SyntaxError]: Unterminated string constant" In moment.js During Bundle HOT 1
- Could not find Chrome (ver. 115.0.5790.98) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from magepack.