You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I face this issue because I install @nuxtjs/apollo before @nuxtjs/date-fns.
@nuxtjs/apollo require date-fns version ^1.27.2 @nuxtjs/date-fns require date-fns version ^2.19.0.
I look at the package-lock.json it makes date-fns version ^1.27.2 is the main version of the app. when you import date-fns on the app it will use this version.
I solved this issue by
remove package-lock.json
run npm install to recreate package-lock.json again to make version ^2.19.0 be the main version.
version: "@nuxtjs/date-fns": "^1.5.0"
For now only uppercase fromat string can work, like
YYYY-MM-DD
The text was updated successfully, but these errors were encountered: