quasar: [v1.17] Can't compile

Software version

Operating System - Linux(4.15.0-47-generic) - linux/x64 NodeJs - 10.8.0

Global packages NPM - 6.9.0 yarn - 1.12.3 @quasar/cli - 1.0.0-beta.4 cordova - Not installed

Important local packages quasar - 1.0.0-beta.17 – High performance, Material Design 2, full front end stack with Vue.js – build SPA, SSR, PWA, Hybrid Mobile Apps and Electron apps, all simultaneously using the same codebase @quasar/app - 1.0.0-beta.17 – Quasar Framework App CLI @quasar/extras - 1.1.1 – Quasar Framework fonts, icons and animations vue - 2.6.10 – Reactive, component-oriented view layer for modern web interfaces. vue-router - 3.0.4 – Official router for Vue.js 2 vuex - 3.1.0 – state management for Vue.js electron - Not installed electron-packager - Not installed electron-builder - Not installed @babel/core - 7.3.4 – Babel compiler core. webpack - 4.30.0 – Packs CommonJs/AMD modules for the browser. Allows to split your codebase into multiple bundles, which can be loaded on demand. Support loaders to preprocess files, i.e. json, jsx, es7, css, less, … and your custom stuff. webpack-dev-server - 3.3.1 – Serves a webpack app. Updates the browser on changes. workbox-webpack-plugin - 4.2.0 – A plugin for your Webpack build process, helping you generate a manifest of local files that workbox-sw should precache. register-service-worker - 1.6.2 – Script for registering service worker, with hooks

Quasar App Extensions None installed

What did you get as the error?

After encountering the following problem, I removed all used extensions, but with the same result: When trying dev or build, CPU spikes for a a while and then:When trying dev or build, CPU spikes for a a while and then I get the following stack trace. Someone any idea?

<— Last few GCs —>

[20197:0x33f7cb0] 685856 ms: Scavenge 1365.1 (1435.1) -> 1352.7 (1437.1) MB, 11.9 / 0.0 ms (average mu = 0.361, current mu = 0.384) allocation failure [20197:0x33f7cb0] 685926 ms: Scavenge 1366.8 (1437.1) -> 1354.3 (1439.6) MB, 9.0 / 0.0 ms (average mu = 0.361, current mu = 0.384) allocation failure [20197:0x33f7cb0] 685991 ms: Scavenge 1368.4 (1439.6) -> 1356.0 (1442.6) MB, 10.0 / 0.0 ms (average mu = 0.361, current mu = 0.384) allocation failure

<— JS stacktrace —>

==== JS stack trace =========================================

0: ExitFrame [pc: 0x2dc5d3b041bd]

Security context: 0x2d1801a9e789 <JSObject> 1: doResolve [0x2345c40df7d1] [/var/www/html/eu.greatreef.www/client/node_modules/enhanced-resolve/lib/Resolver.js:~189] [pc=0x2dc5d437906a](this=0x24be0dcaa019 <Tapable map = 0x390795d06981>,hook=0x24be0dca6629 <Object map = 0x390795d0a291>,request=0x30f3b5b1fb11 <Object map = 0x390795d0fb99>,message=0x1c2525f02201 <null>,resolveContext=0x30f3b5b1fa39 <…

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory 1: 0x8b8210 node::Abort() [node] 2: 0x8b825c [node] 3: 0xac1d1e v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node] 4: 0xac1f38 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node] 5: 0xeb11f2 [node] 6: 0xebd14a v8::internal::Heap::PerformGarbageCollection(v8::internal::GarbageCollector, v8::GCCallbackFlags) [node] 7: 0xebdab4 v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node] 8: 0xec03e5 v8::internal::Heap::AllocateRawWithRetry(int, v8::internal::AllocationSpace, v8::internal::AllocationAlignment) [node] 9: 0xe888c4 v8::internal::Factory::NewFillerObject(int, bool, v8::internal::AllocationSpace) [node] 10: 0x112a2ae v8::internal::Runtime_AllocateInNewSpace(int, v8::internal::Object**, v8::internal::Isolate*) [node] 11: 0x2dc5d3b041bd Aborted (core dumped)

What were you expecting?

What steps did you take, to get the error?

yarn upgrade quasar dev

/client$ quasar dev

Dev mode… spa Pkg quasar… v1.0.0-beta.17 Pkg @quasar/app… v1.0.0-beta.17 Debugging… enabled

app:quasar-conf Reading quasar.conf.js +0ms app:dev Checking listening address availability (0.0.0.0:8083)… +5ms app:webpack Extending SPA Webpack config +524ms app:generator Generating Webpack entry point +9ms app:dev-server Booting up… +3ms

SPA ██████████████ building [55%] 379/428 modules 49 active

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (12 by maintainers)

Most upvoted comments

One thing I can recommend is to debug with the build.

$ quasar build -m spa --debug