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

503 Server Unavailable #310

Closed
kalaomer opened this issue Jun 22, 2022 · 2 comments
Closed

503 Server Unavailable #310

kalaomer opened this issue Jun 22, 2022 · 2 comments

Comments

@kalaomer
Copy link

kalaomer commented Jun 22, 2022

Environment

OS: Macos
Platform: Docker Compose
Version: 0.4.8
Nuxt Version: v3
External Modules: @nuxtjs/tailwindcss

Reproduction

import {defineNuxtConfig} from 'nuxt'

// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
    modules: ['@nuxtjs/tailwindcss'],

    css: [
        'element-plus/dist/index.css',
        "@/assets/scss/main.scss"
    ],


    tailwindcss: {
        cssPath: '~/assets/scss/tailwind.scss',
        viewer: false,
    },

    build: {
        extractCSS: true,
    }
})

Describe the bug

When I change file, hot reload fails and break the server.

CLI Command: nuxt dev --host=0.0.0.0 --port=8080

There is two thing may break the code, first tailwind integration and second custom port number. But actually which one is the main issue i couldn't get it.

Screen Shot 2022-06-23 at 00 19 02

Screen Shot 2022-06-23 at 00 18 41

Additional context

No response

Logs

No response

@chris-visser
Copy link

Looks like its the custom port. Did you try another? Its likely that 8080 is already used by something else (in this case a nitro worker) ?

@pi0
Copy link
Member

pi0 commented Jul 17, 2023

Hi again. I have made a new tracker for this issue #1454

@pi0 pi0 closed this as not planned Won't fix, can't repro, duplicate, stale Jul 17, 2023
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

3 participants