|
1 | 1 | ---
|
2 |
| -name: Bug report |
3 |
| -about: Create a report to help us improve |
| 2 | +name: "\U0001F41E Bug report" |
| 3 | +about: Report an issue with Vite |
4 | 4 | title: ''
|
5 | 5 | labels: 'bug: pending triage'
|
6 | 6 | assignees: ''
|
7 | 7 | ---
|
8 | 8 |
|
| 9 | +<!-- 中文用户请注意:请仔细阅读以下模版,如果不遵循模版,issue 将会被直接关闭。 --> |
9 | 10 | <!--
|
10 |
| -中文用户请注意:请仔细阅读以下模版,如果不遵循模版,issue 将会被直接关闭。 |
| 11 | + !!! IMPORTANT !!! |
| 12 | + Please do not ignore this template. If you do, your issue will be closed immediately. |
11 | 13 | -->
|
12 | 14 |
|
13 |
| -**⚠️ IMPORTANT ⚠️ Please do not ignore this template. If you do, your issue will be closed immediately.** |
| 15 | +### Describe the bug |
14 | 16 |
|
15 |
| -- [ ] Read [the docs](https://vitejs.dev/guide/). |
16 |
| -- [ ] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead. |
17 |
| -- [ ] This is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/). |
| 17 | +<!-- A clear and concise description of what the bug is. --> |
| 18 | + |
| 19 | +<!-- If you intend to submit a PR for this issue, tell us in the description. Thanks! --> |
| 20 | + |
| 21 | +### Reproduction |
| 22 | + |
| 23 | +<!-- |
| 24 | + Please provide a link to a repo that can reproduce the problem you ran into. |
18 | 25 |
|
19 |
| -## Describe the bug |
| 26 | + A reproduction is required unless you are absolutely sure that the issue is obvious and the provided information is enough to understand the problem. If a report is vague (e.g. just a generic error message) and has no reproduction, it will receive a "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed. |
| 27 | +--> |
20 | 28 |
|
21 |
| -A clear and concise description of what the bug is. |
| 29 | +### System Info |
22 | 30 |
|
23 |
| -## Reproduction |
| 31 | +Output of `npx envinfo --system --npmPackages vite,@vitejs/plugin-vue --binaries --browsers`: |
24 | 32 |
|
25 |
| -Please provide a link to a repo that can reproduce the problem you ran into. |
| 33 | +```node |
26 | 34 |
|
27 |
| -A reproduction is **required** unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will receive "need reproduction" label. If no reproduction is provided after 3 days, it will be auto-closed. |
| 35 | +``` |
28 | 36 |
|
29 |
| -## System Info |
| 37 | +Used package manager: <!-- npm | yarn | pnpm --> |
30 | 38 |
|
31 |
| -- `vite` version: |
32 |
| -- Operating System: |
33 |
| -- Node version: |
34 |
| -- Package manager (npm/yarn/pnpm) and version: |
| 39 | +### Logs <!-- (Optional if provided reproduction) --> |
35 | 40 |
|
36 |
| -## Logs (Optional if provided reproduction) |
| 41 | +<!-- |
| 42 | + Please try not to insert an image but copy paste the log text. |
37 | 43 |
|
38 |
| -1. Run `vite` or `vite build` with the `--debug` flag. |
39 |
| -2. Provide the error log here. |
| 44 | + 1. Run `vite` or `vite build` with the `--debug` flag. |
| 45 | + 2. Provide the error log here. |
| 46 | + `node` is used as highlight to improve some colors in stack-traces. |
| 47 | + If it doesn't work quite well, try `console`. |
| 48 | +--> |
| 49 | + |
| 50 | +```node |
| 51 | + |
| 52 | +``` |
| 53 | + |
| 54 | +--- |
| 55 | + |
| 56 | +### Before submitting the issue, please make sure you do the following |
| 57 | + |
| 58 | +- [ ] Read the [Contributing Guidelines](https://github.com/vitejs/vite/blob/main/.github/contributing.md). |
| 59 | +- [ ] Read the [docs](https://vitejs.dev/guide). |
| 60 | +- [ ] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate. |
| 61 | +- [ ] Provide a description in this issue that describes the bug. |
| 62 | +- [ ] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead. |
| 63 | +- [ ] Check that this is a concrete bug. For Q&A open a [GitHub Discussion](https://github.com/vitejs/vite/discussions) or join our [Discord Chat Server](https://chat.vitejs.dev/). |
0 commit comments