javascriptvuejs3runtime-errorquasar-framework

How to solve the boot Reference error in Quasar SPA application?


Using quasar build command, I made a quasar app web build, and dumped those files into the production domain folder. After, trying to access the domain, I am getting a blank page and error on console:

index.42944a7a.js:9  [Quasar] boot error: ReferenceError: Cannot access 'nn' before initialization
    at app_core.d37db9c3.js:2:11982

after clicking on app_core error link, the code it pointing is:

var rn = ae.exports
  , Ge = rn;
const te = nn()
  , R = Ge.create({
    baseURL: te.urlD
});

Solution

  • This error occurred because I tried to access VueUse storage elements before the App initialization in axios boot file.