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

Build success, but run failed #10265

Closed
7 tasks done
ys-zhifu opened this issue Sep 28, 2022 · 5 comments
Closed
7 tasks done

Build success, but run failed #10265

ys-zhifu opened this issue Sep 28, 2022 · 5 comments

Comments

@ys-zhifu
Copy link

Describe the bug

console: this.triggerElm.setAttribute is not a function

This bug will cause some components on the page to fail to display, such as icon, such as el-dropdown

Reproduction

pnpm uninstall vite@2.7.13;pnpm install vite@3.1.3

System Info

chrome: 105.0.5195.127
vite: 3.1.3
element-ui: 2.15.8
env: production
module: el-dropdown

Used Package Manager

pnpm

Logs

no error

Validations

@ys-zhifu
Copy link
Author

img_v2_603d99ba-7b4b-4869-93e0-c7da8d8a480g

Run on local is ok, but build and run on prod is error.

@ys-zhifu
Copy link
Author

Finally, i uninstall vite@3.1.3 and install vite@2.9.15,then build and run is ok.

@ys-zhifu
Copy link
Author

I donot test vite@3.x.x,use the 2.9.X version

@github-actions
Copy link

Hello @ys-zhifu. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with need reproduction will be closed if they have no activity within 3 days.

@ys-zhifu
Copy link
Author

This is a wrong build environment experience, took more time than expected.

Let's deal with it later when i am free, or wait for someone else to trigger.

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Oct 2, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 16, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants