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

still getting this._implicitHeader is not a function after installing vite latest version #6457

Closed
6 of 7 tasks
Andrevwvm opened this issue Jan 11, 2022 · 1 comment
Closed
6 of 7 tasks

Comments

@Andrevwvm
Copy link

Andrevwvm commented Jan 11, 2022

Describe the bug

vite preview still fails when visiting "http://localhost:5000" after running "npm run serve".

Node.js v14.18.3
Vite v2.8.0-beta.1
Enabled https

Error:
\node_modules\vite\dist\node\chunks\dep-e4dc9ea2.js:68637
this._implicitHeader();
^

TypeError: this._implicitHeader is not a function
at Http2ServerResponse.end (C:\Projects\Fenetre.SiliconCore\Source\Fenetre.SiliconCore.Sample.WebVue\node_modules\vite\dist\node\chunks\dep-e4dc9ea2.js:68637:6)
at Array.write (C:\Projects\Fenetre.SiliconCore\Source\Fenetre.SiliconCore.Sample.WebVue\node_modules\vite\dist\node\chunks\dep-e4dc9ea2.js:40673:9)
at listener (C:\Projects\Fenetre.SiliconCore\Source\Fenetre.SiliconCore.Sample.WebVue\node_modules\vite\dist\node\chunks\dep-e4dc9ea2.js:39946:15)
at onFinish (C:\Projects\Fenetre.SiliconCore\Source\Fenetre.SiliconCore.Sample.WebVue\node_modules\vite\dist\node\chunks\dep-e4dc9ea2.js:39877:5)
at callback (C:\Projects\Fenetre.SiliconCore\Source\Fenetre.SiliconCore.Sample.WebVue\node_modules\vite\dist\node\chunks\dep-e4dc9ea2.js:39738:10)
at Http2ServerRequest.emit (events.js:400:28)
at endReadableNT (internal/streams/readable.js:1334:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)

Reproduction

cannot reproduce in vite.new and cannot share NDA project link

System Info

System:
    OS: Windows 10 10.0.19044
    CPU: (32) x64 AMD Ryzen 9 5950X 16-Core Processor
    Memory: 16.25 GB / 31.92 GB
  Binaries:
    Node: 14.18.3 - C:\Program Files\nodejs\node.EXE
    npm: 6.14.15 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (97.0.1072.55)
    Internet Explorer: 11.0.19041.1202
  npmPackages:
    @vitejs/plugin-vue: ^1.10.0 => 1.10.2
    vite: ^2.8.0-beta.1 => 2.8.0-beta.1


Browser - Latest Chrome

Used Package Manager

npm

Logs

No response

Validations

@Niputi
Copy link
Contributor

Niputi commented Jan 11, 2022

duplicate of #2754

@Niputi Niputi closed this as completed Jan 11, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jan 26, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants