Skip to content

ENOENT: no such file or directory error in @nuxtjs/color-mode plugin during build #300

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

Open
Iheanemegregory-9 opened this issue Oct 25, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Iheanemegregory-9
Copy link

I'm encountering an issue with the @nuxtjs/color-mode module when running npm run build on my Nuxt project. The build fails with the following error:

	[warn] Failed to parse static properties from plugin `node_modules/@nuxtjs/color-mode/dist/runtime/plugin.server`. ENOENT: no such file or directory, open '/opt/buildhome/repo/node_modules/@nuxtjs/color-mode/dist/runtime/plugin.server'


[warn] Failed to parse static properties from plugin `node_modules/@nuxtjs/color-mode/dist/runtime/plugin.client`. ENOENT: no such file or directory, open '/opt/buildhome/repo/node_modules/@nuxtjs/color-mode/dist/runtime/plugin.client'

I am using

@nuxtjs/color-mode version: ^3.5.1
Package manager: npm

@Iheanemegregory-9 Iheanemegregory-9 added the bug Something isn't working label Oct 25, 2024
@hacknug
Copy link

hacknug commented Feb 21, 2025

Can you share a link to a working reproduction if you're still experiencing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants