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

Nuxt Project Stopped Working During Windows 11 Development #28201

Closed
NaorTheEnlightened opened this issue Jul 18, 2024 · 2 comments
Closed

Nuxt Project Stopped Working During Windows 11 Development #28201

NaorTheEnlightened opened this issue Jul 18, 2024 · 2 comments

Comments

@NaorTheEnlightened
Copy link

Environment

Windows 11
Node 20.8
Nuxt version: 3.12

image

{
"name": "nuxt-app",
"private": true,
"type": "module",
"scripts": {
"build": "nuxt build",
"dev": "nuxt dev",
"generate": "nuxt generate",
"debug": "nuxi dev --inspect",
"preview": "nuxt preview",
"postinstall": "nuxt prepare"
},
"prisma": {
"seed": "node prisma/seed.js"
},
"dependencies": {
"@nuxtjs/tailwindcss": "^6.12.1",
"@pinia/nuxt": "^0.5.1",
"@prisma/client": "^5.16.2",
"bcrypt": "^5.1.1",
"google-auth-library": "^9.11.0",
"jsonwebtoken": "^9.0.2",
"nuxt-vue3-google-signin": "^0.0.11",
"pinia": "^2.1.7",
"vue": "latest",
"vue3-draggable-next": "^4.1.4",
"zod": "^3.23.8"
},
"devDependencies": {
"autoprefixer": "^10.4.19",
"nuxt": "^3.12.3",
"postcss": "^8.4.39",
"prisma": "^5.16.2",
"tailwindcss": "^3.4.5"
},
"overrides": {
"vue": "latest"
}
}

Here is my nuxt.config.ts:

// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
compatibilityDate: '2024-04-03',
devtools: { enabled: false },
debug: true,
// colorMode: {
// preference: 'light', // default value of $colorMode.preference
// },
plugins: ['/plugins/prisma.js', '/plugins/auth.js'],
sourcemap: {
server: true,
client: true,
},
runtimeConfig: {
// Keys within public are also exposed client-side
public: {
apiBase: '/api',
},
jwtSecret: process.env.JWT_SECRET,
googleClientId: process.env.GOOGLE_CLIENT_ID,
},
modules: [
'@nuxtjs/tailwindcss',
'@pinia/nuxt',
'nuxt-vue3-google-signin',
],
css: ['~/assets/css/main.css'],
postcss: {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
},
googleSignIn: {
clientId: process.env.GOOGLE_CLIENT_ID,
},
});

Please help fix the issue promptly, as I am unable to continue an important project of mine built with Nuxt 3.

Thanks for all helpers.

Reproduction

Windows 11 normal development

Describe the bug

An error appears in my console which stops me from being able to continue development as my local server isn't working.

tried re-installing, what not.

nothing seems to impact the issue.

Additional context

No response

Logs

No response

Copy link
Contributor

Would you be able to provide a reproduction? 🙏

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritize it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), we'll close them. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have a couple of templates for starting with a minimal reproduction:

👉 https://stackblitz.com/github/nuxt/starter/tree/v3-stackblitz
👉 https://codesandbox.io/s/github/nuxt/starter/v3-codesandbox

A public GitHub repository is also perfect. 👌

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

@NaorTheEnlightened
Copy link
Author

Solved, recreated node_modules from scratch.

Bug closed.

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

No branches or pull requests

2 participants