1
  1. install nuxt 3
  2. install nuxt ionic
  3. then npm run build
  4. npm run preview

and I get error :

error caught during app initialization TypeError: Cannot read properties of undefined (reading 'beforeResolve')

1 Answer 1

1

This issue might be of help. https://github.com/nuxt-modules/ionic/issues/484

tldr: the bug was introduced in [email protected], adding the following to nuxt.config.ts fixes the issue

experimental:{
  payloadExtraction: false
}
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.