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
{{ message }}
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
The client and server is getting compiled when I run npm run dev
But showing an error in the console
Uncaught SyntaxError: The requested module '/@fs/home/pushpak1300/Desktop/projects/javascript/pushpak1300.github.io/node_modules/.cache/vite/client/date-fns.js?v=25441ce8' does not provide an export named 'default'
Apart from this everything is working as expected
Output for build
╭───────────────────────────────────────────────────────╮
│ │
│ Nuxt @ v2.15.2 │
│ │
│ ▸ Environment: development │
│ ▸ Rendering: client-side │
│ ▸ Target: static │
│ │
│ Listening: http://localhost:3000/ │
│ │
│ ⚡ Vite Mode Enabled (v0.0.18) │
│ Tailwind Viewer: http://localhost:3000/_tailwind/ │
│ │
╰───────────────────────────────────────────────────────╯
ℹ Preparing project for development 11:03:28
ℹ Initial build may take a while 11:03:28
ℹ Discovered Components: .nuxt/components/readme.md 11:03:28
✔ Builder initialized 11:03:28
✔ Nuxt files generated 11:03:29
✔ Client compiled successfully in 0.036s 11:03:29
✔ Server compiled successfully in 0.048s 11:03:29
ℹ Waiting for file changes 11:03:29
ℹ Memory usage: 89.9 MB (RSS: 190 MB) 11:03:29
ℹ Listening on: http://localhost:3000/
The text was updated successfully, but these errors were encountered:
Versions
nuxt-vite: 0.0.18
nuxt: 2.15.2
Reproduction
https://github.com/pushpak1300/pushpak1300.github.io
Description
The client and server is getting compiled when I run
npm run dev
But showing an error in the console
Uncaught SyntaxError: The requested module
'/@fs/home/pushpak1300/Desktop/projects/javascript/pushpak1300.github.io/node_modules/.cache/vite/client/date-fns.js?v=25441ce8' does not provide an export named 'default'
Apart from this everything is working as expected
Output for build
The text was updated successfully, but these errors were encountered: