Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cannot read properties of null (reading 'setupContext') #14636

Closed
KahrLu opened this issue Aug 19, 2022 · 5 comments
Closed

cannot read properties of null (reading 'setupContext') #14636

KahrLu opened this issue Aug 19, 2022 · 5 comments

Comments

@KahrLu
Copy link

KahrLu commented Aug 19, 2022

Environment

live

Reproduction

image

Describe the bug

when I upgrade the version to rc-8, I can start the app local successfully.
and build also is succeed. but when I start the built files on live, the error is coming out.

Additional context

No response

Logs

No response

@danielroe
Copy link
Member

Would you provide a reproduction? 🙏

@danielroe danielroe changed the title nuxt.rc-8 error, cannot read properties of null (reading 'setupContext') Aug 19, 2022
@KahrLu
Copy link
Author

KahrLu commented Aug 20, 2022

Would you provide a reproduction? 🙏

Git repo
Hi @danielroe , I use element-plus in nux3.rc-8
normal when I run "yarn dev"
but error comes out when "yarn preview"

@danielroe
Copy link
Member

danielroe commented Aug 20, 2022

Issue to follow is #13632. You can add element-plus to your build.transpile (or possibly enable experimental.externalVue) and all should work well.

https://stackblitz.com/edit/github-1wmsan

@danielroe danielroe closed this as not planned Won't fix, can't repro, duplicate, stale Aug 20, 2022
@danielroe danielroe added the 3.x label Jan 19, 2023
@danielroe danielroe transferred this issue from nuxt/framework Jan 19, 2023
@HOPELESSNESSLYR
Copy link

How to solve this problem?'Uncaught (in promise) TypeError: Cannot read properties of null (reading 'setupContext')'

@danielroe
Copy link
Member

@HOPELESSNESSLYR Would you open an issue with a minimal reproduction? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants