Closed
Description
🐛 The bug
When upgrading the package from:
v0.7.1 -> v0.8.0
We encountered the following issue:
Error in the console:
[nuxt] error caught during app initialization TypeError: Cannot read properties of undefined (reading 'startsWith')
From source:
ss(n.vueApp.config.globalProperties, "$nuxt", n);
{
window.addEventListener("nuxt.preloadError", s => {
n.callHook("app:chunkError", {
error: s.payload
})
}
),
window.useNuxtApp = window.useNuxtApp || le;
const i = n.hook("app:error", (...s) => {
console.error("[nuxt] error caught during app initialization", ...s)
}
);
n.hook("app:mounted", i)
}
const r = n.payload.config;
return n.provide("config", r),
n
}
🛠️ To reproduce
/
🌈 Expected behavior
No error
ℹ️ Additional context
No response