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

Rollup failed to resolve import #38

Open
luminous8 opened this issue May 1, 2023 · 0 comments
Open

Rollup failed to resolve import #38

luminous8 opened this issue May 1, 2023 · 0 comments

Comments

@luminous8
Copy link

When building my app on my linux server (running npm run dev) I got this error;

ERROR [vite]: Rollup failed to resolve import "dayjs/esm/plugin/UpdateLocale/index.js" from "virtual:nuxt:/APP_FOLDER/.nuxt/dayjs.config.mjs" This is most likely unintended because it can break your application at runtime. If you do want to externalize this module explicitly add it to build.rollupOptions.external

nuxt-dayjs-module: ^1.0.15
nuxt: ^3.4.3
node version: v19.8.1

for some reasons I cannot reproduce it on my computer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant