TypeError: Cannot read property 'mat' of undefined



  • Hi! im very new to qusar, im trying to use a zip file i downloaded from a udemy course. I unzipped the file to a folder named original in the directory C:\Users\henri. first thing i do is the command: cd original, npm install and then qusar dev. i get this message:

    app:quasar-conf Reading quasar.conf.js +0ms
    [ TypeError: Cannot read property ‘mat’ of undefined

    • quasar.conf.js:12 QuasarConfig.module.exports [as quasarConfigFunction]
      C:/Users/henri/original/quasar.conf.js:12:17

    • quasar-config.js:218 QuasarConfig.prepare
      [henri]/[@quasar]/app/lib/quasar-config.js:218:13

    • quasar-dev:217 goLive
      [henri]/[@quasar]/app/bin/quasar-dev:217:24

    • task_queues.js:97 processTicksAndRejections
      internal/process/task_queues.js:97:5

    ]
    app:dev ⚠️ [FAIL] quasar.conf.js has JS errors +13ms

    does anyone know why ?



  • Btw when i run npm audit fix, it dosent solve the problem.

    fixed 882 of 891 vulnerabilities in 15548 scanned packages
    9 vulnerabilities required manual review and could not be updated


Log in to reply