Closed NouhToulali1997 closed 2 years ago
Hi,
@quasar/app
(deprecated for Qv2) and not on the newer @quasar/app-webpack
?node --max-old-space-size=5120 quasar dev/build
).Would be glad to assist you on point no. 2, but the time doesn't allow it.
What happened?
In remote server under linux, While compiling my application using electron mode (same issue using cordova mode) I got the following error :
sudo quasar build -c --mode electron -T win32
Build mode........ electron Pkg quasar........ v2.7.5 Pkg @quasar/app... v3.3.3 Pkg webpack....... v5 Debugging......... no Publishing........ no
Configured browser support (>= 88.14% of global marketshare): · Chrome for Android >= 103 · Firefox for Android >= 101 · Android >= 103 · Chrome >= 94 · Edge >= 100 · Firefox >= 93 · iOS >= 13.0-13.1 · Opera >= 82 · Safari >= 14
App • Cleaned build artifact: "/home/web/appli/dist/electron" App • WAIT • Compiling of "Renderer" in progress... App • WAIT • Compiling of "Preload" in progress... App • WAIT • Compiling of "Main" in progress... (node:3709550) [DEP0148] DeprecationWarning: Use of deprecated folder mapping "./" in the "exports" field module resolution of the package at /home/web/appli/node_modules/vuex/package.json. Update this package.json to use a subpath pattern like "./*". (Use
node --trace-deprecation ...
to show where the warning was created) App • DONE • "Main" compiled with success • 2230ms App • DONE • "Preload" compiled with success • 11009ms App • DONE • "Renderer" compiled with errors • 22564msApp • ERROR • Renderer
File size (2615101396) is greater than 2 GB
App • ERROR • Renderer
File size (2599305216) is greater than 2 GB
App • COMPILATION FAILED • Please check the log above for details.
otherwise, the build is working in windows correctly.
I tried fixing it by increasing file size in linux under /etc/security/limits.conf by adding : appli hard fsize 5615101396 appli soft fsize 5615101396 root hard fsize 5615101396 root soft fsize 5615101396 but still not working
What did you expect to happen?
the application should be built
Reproduction URL
https://codepen.io/rstoenescu/pen/xxEvBLR
How to reproduce?
under linux, try to generates electron build with a large application rendered file
Flavour
Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)
Areas
Electron Mode, Cordova Mode
Platforms/Browsers
No response
Quasar info output
Relevant log output
No response
Additional context
No response