vue-datepicker-next icon indicating copy to clipboard operation
vue-datepicker-next copied to clipboard

[Bug] error message showing vue3.2.47

Open zuo305 opened this issue 1 year ago • 6 comments

vue-datepicker-next:1.0.2 Vue version:3.2.47 Browser: chrome

Steps to reproduce Any time show the date picker, the browser will show the error message.

Screenshot 2023-03-06 095422

zuo305 avatar Mar 05 '23 22:03 zuo305

i had the same issue! DOes any body know what is this?

Skivs29 avatar Mar 16 '23 12:03 Skivs29

@Skivs29 Can you help me reproduce? https://codesandbox.io/s/busy-babycat-v462gi?file=/src/App.vue

mengxiong10 avatar Mar 17 '23 02:03 mengxiong10

It works fine with 1.0.3 version)

Skivs29 avatar Mar 17 '23 12:03 Skivs29

This bug is very very wired. I have another lib got a similar problem. It is a little different warning message, but the same thing is it is good locally but not good on publish. It super confused me, I guess the problem is the relative Vue version. Lib depends on one version, and the project depends on another version. Not very sure. Let me know if anyone got some info. Thanks, guys. I am happy to do any test. Just let me know.

zuo305 avatar Mar 20 '23 03:03 zuo305

Also I found this in vue-core.js: https://github.com/vuejs/core/issues/4260 , is possible we can move the 'vue' from "dependencies" to "devDependencies":

Screenshot 2023-03-20 150211

zuo305 avatar Mar 20 '23 04:03 zuo305

Hi @Skivs29 try this way: https://github.com/vuejs/vue-cli/issues/4271 , if it is not work let me know. Thanks.

Screenshot 2023-03-20 161610

zuo305 avatar Mar 20 '23 05:03 zuo305