-
-
Notifications
You must be signed in to change notification settings - Fork 14.4k
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] [All] v2.7.0 Error while requiring module @element-plus/nuxt: TypeError: _dayjs.default.extend is not a function #16512
Comments
Can you provide a simple repository reproduction link? |
Downgrade helped:
|
@haozileung According to the online link you provided, there is indeed an error. However, when I downloaded it and ran it locally, it seemed normal. Could it be related to the environment? My local system is win10 and the node version is 18.19.1. |
I have same issue when build nuxt in Ubuntu, can you try it in Ubuntu environment? |
@HaManhCuong-2910 Chưa cần thiết dùng các tính năng của 2.7.0 thì ông hạ xuống 2.6.3 xài tạm đi đã, trong khi chờ issue được fix. |
|
Ông fix được chưa |
@HaManhCuong-2910 tui xài 2.6.3 bình thường. |
@trandaison Ông build dùng nuxt generate à hay là nuxt build |
I tried this workaround and applied it to Docker file. It worked for me. |
@damtrongan Which node image do you use in Dockerfile? |
node:18.16-alpine3.17 |
@damtrongan Are you andt02? =))) |
=))) right |
@damtrongan I did see your commit "update Dockerfile" in my project =))) |
Fixed with @element-plus/nuxt to v1.0.9. |
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. 此 issue 已被自动锁定,因为关闭后没有任何近期活动。如果有相关 bug,请重新创建一个新 issue。 |
Bug Type:
Build
Environment
3.4.21
2.7.0
macOS 14.0
Nuxt
Reproduction
https://codesandbox.io/p/devbox/wonderful-elion-wm8dqg?file=%2Fpackage.json%3A8%2C33 (thanks @haozileung)
Related Component
All
Reproduction Link
Link
Steps to reproduce
Update an existing element plus to v2.7.0
What is Expected?
Installation should be success.
What is actually happening?
Log
Additional comments
There was an issue on element-plus-nuxt repo element-plus/element-plus-nuxt#95, however, the lasted of
@element-plus/nuxt v1.0.8
andelement-plus v2.6.3
is still working, I think the problem should be inelement-plus 2.7.0
it self.The text was updated successfully, but these errors were encountered: