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

Issue when using vite4 #15

Closed
sourcenux opened this issue Dec 29, 2022 · 3 comments
Closed

Issue when using vite4 #15

sourcenux opened this issue Dec 29, 2022 · 3 comments

Comments

@sourcenux
Copy link

Hi,

I am using the below pasted vite.config.js for vite. When adding "basicSsl()" as Plugin vite does not respond to requests anymore. It causes 100% cpu load (single threaded) and can not be stopped besides killing it forcefully. Everything works fine, if basicssl is disabled and vite is being used via http. My Application is using VueJS 3.2.26. I've added my package.json further below.

import { defineConfig } from 'vite'
import vue from '@vitejs/plugin-vue'
import basicSsl from '@vitejs/plugin-basic-ssl'

// https://vitejs.dev/config/
export default defineConfig({
  plugins: [vue()
,basicSsl()
],
  server: {
        host: true,
        port: '8080',

        }

})


  "name": "hausverwaltung-client",
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vite build"
  },
  "dependencies": {
    "@vitejs/plugin-basic-ssl": "^1.0.1",
    "@vitejs/plugin-vue": "^4.0.0",
    "@vuepic/vue-datepicker": "^3.2.0",
    "axios": "^0.21.4",
    "serve": "^14.1.2",
    "vue": "^3.2.26",
    "vue-router": "^4.0.12"
  },
  "devDependencies": {
    "@vue/compiler-sfc": "^3.2.26",
    "vite": "^4.0.0"
  }
}
@danielgek
Copy link

danielgek commented Mar 16, 2023

@sourcenux i'm having the same problem either with this or with certificates generated by me, did you get around the issue some how ?

@bluwy
Copy link
Member

bluwy commented Jan 25, 2024

Is this still happening in Vite 5?

@patak-dev
Copy link
Member

Let's close this one, please create a new issue against Vite 5 if there is still a problem

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

4 participants