Cannot Build



  • Help please I need to build it today.

     • Compiling:
     └── SPA ███████████████████  90% additional chunk assets processing
    
      TypeError: Class constructor Parser cannot be invoked without 'new'
    
      - safe-parser.js:17 new SafeParser
        [spotify-saas-www]/[postcss-safe-parser]/lib/safe-parser.js:17:20
    
      - safe-parse.js:9 safeParse
        [spotify-saas-www]/[postcss-safe-parser]/lib/safe-parse.js:9:16
    
      - lazy-result.js:54 new LazyResult
        [spotify-saas-www]/[postcss]/lib/lazy-result.js:54:16
    
      - processor.js:116 Processor.process
        [spotify-saas-www]/[postcss]/lib/processor.js:116:12
    
      - postcss.js:145 Function.creator.process
        [spotify-saas-www]/[postcss]/lib/postcss.js:145:43
    
      - index.js:73 OptimizeCssAssetsWebpackPlugin.processCss
        [spotify-saas-www]/[optimize-css-assets-webpack-plugin]/src/index.js:73:21
    
      - index.js:13 Object.processor
        [spotify-saas-www]/[optimize-css-assets-webpack-plugin]/src/index.js:13:18
    
      - index.js:150 
        [spotify-saas-www]/[last-call-webpack-plugin]/src/index.js:150:10
    
      - _arrayEach.js:15 arrayEach
        [spotify-saas-www]/[lodash]/_arrayEach.js:15:9
    
      - forEach.js:38 forEach
        [spotify-saas-www]/[lodash]/forEach.js:38:10
    
      - index.js:147 OptimizeCssAssetsWebpackPlugin.process
        [spotify-saas-www]/[last-call-webpack-plugin]/src/index.js:147:5
    
      - index.js:178 
        [spotify-saas-www]/[last-call-webpack-plugin]/src/index.js:178:28
    
    
      - Hook.js:154 AsyncSeriesHook.lazyCompileHook
        [spotify-saas-www]/[tapable]/lib/Hook.js:154:20
    
      - Compilation.js:1409
        [spotify-saas-www]/[webpack]/lib/Compilation.js:1409:36
    
    


  • I really like this forum when you create an important question nobody answers.



  • @Vierone provide more info then maybe peeps will answer. Nuke the node module folder, lock files, run yarn.

    P.s. We’re not mind readers.



  • @metalsadman I have an app that runs without errors when i “quasar dev”.
    If I want to build app “quasar build” it gives this error, nothing else.

    I even tried it in another computer and deleted, installed everything again. Still an error and this error isn’t occured because of something I did.



  • @Vierone post your quasar info logs.


Log in to reply