根据Home · 1Panel-dev/MaxKB Wiki · GitHub
访问 127.0.0.1:8080 提示 页面不存在
后台如下
(maxkb-py3.11) d:\tools\maxkb>python main.py start
Building prefix dict from the default dictionary …
DEBUG:jieba:Building prefix dict from the default dictionary …
Loading model from cache C:\Users\root\AppData\Local\Temp\jieba.cache
DEBUG:jieba:Loading model from cache C:\Users\root\AppData\Local\Temp\jieba.cache
Loading model cost 0.836 seconds.
DEBUG:jieba:Loading model cost 0.836 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
Operations to perform:
Apply all migrations: application, contenttypes, dataset, django_apscheduler, embedding, setting, users
Running migrations:
No migrations to apply.
Your models in app(s): ‘application’ have changes that are not yet reflected in a migration, and so won’t be applied.
Run ‘manage.py makemigrations’ to make new migrations, and then re-run ‘manage.py migrate’ to apply them.
Building prefix dict from the default dictionary …
DEBUG:jieba:Building prefix dict from the default dictionary …
Loading model from cache C:\Users\root\AppData\Local\Temp\jieba.cache
DEBUG:jieba:Loading model from cache C:\Users\root\AppData\Local\Temp\jieba.cache
Loading model cost 0.702 seconds.
DEBUG:jieba:Loading model cost 0.702 seconds.
Prefix dict has been built successfully.
DEBUG:jieba:Prefix dict has been built successfully.
Operations to perform:
Apply all migrations: application, contenttypes, dataset, django_apscheduler, embedding, setting, users
Running migrations:
No migrations to apply.
Your models in app(s): ‘application’ have changes that are not yet reflected in a migration, and so won’t be applied.
Run ‘manage.py makemigrations’ to make new migrations, and then re-run ‘manage.py migrate’ to apply them.
June 05, 2024 - 16:23:46
Django version 4.1.13, using settings ‘smartdoc.settings’
Starting development server at http://0.0.0.0:8080/
Quit the server with CTRL-BREAK.
2024-06-05 16:24:03 [log WARNING] Not Found: /
2024-06-05 16:24:03 [basehttp WARNING] “GET / HTTP/1.1” 404 15
WARNING:sentence_transformers.SentenceTransformer:No sentence-transformers model found with name shibing624/text2vec-base-chinese. Creating a new one with MEAN pooling. C:\Users\root\AppData\Local\pypoetry\Cache\virtualenvs\maxkb-ayQXs96x-py3.11\Lib\site-packages\huggingface_hub\file_download.py:1132: FutureWarning: resume_download
is deprecated and will be removed in version 1.0.0. Downloads always resume when possible. If you want to force a new download, use force_download=True
.
warnings.warn(
2024-06-05 17:27:26 [log WARNING] Not Found: /
2024-06-05 17:27:26 [basehttp WARNING] “GET / HTTP/1.1” 404 15
MaxKB 访问提示,
[plugin:vite:import-analysis] Failed to resolve import “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue” from “src\components\dynamics-form\index.ts”. Does the file exist?
D:/tools/maxkb/ui/src/components/dynamics-form/index.ts:3:25
1 | import * as __vite_glob_0_0 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue”;import * as __vite_glob_0_1 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItem.vue”;import * as __vite_glob_0_2 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItemLabel.vue”;import * as __vite_glob_0_3 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/index.vue”;import * as __vite_glob_0_4 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/PasswordInput.vue”;import * as __vite_glob_0_5 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/TextInput.vue”;import * as __vite_glob_0_6 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue”;import * as __vite_glob_0_7 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ObjectCard.vue”;import * as __vite_glob_0_8 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/TabCard.vue”;import * as __vite_glob_0_9 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/Radio.vue”;import * as __vite_glob_0_10 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioButton.vue”;import * as __vite_glob_0_11 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioCard.vue”;import * as __vite_glob_0_12 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/MultiSelect.vue”;import * as __vite_glob_0_13 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/SingleSelect.vue”;import * as __vite_glob_0_14 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/ProgressTableItem.vue”;import * as __vite_glob_0_15 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableCheckbox.vue”;import * as __vite_glob_0_16 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableColumn.vue”;import * as __vite_glob_0_17 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableRadio.vue”;import * as __vite_glob_1_0 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue”;import * as __vite_glob_1_1 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItem.vue”;import * as __vite_glob_1_2 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItemLabel.vue”;import * as __vite_glob_1_3 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/index.vue”;import * as __vite_glob_1_4 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/PasswordInput.vue”;import * as __vite_glob_1_5 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/TextInput.vue”;import * as __vite_glob_1_6 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue”;import * as __vite_glob_1_7 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ObjectCard.vue”;import * as __vite_glob_1_8 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/TabCard.vue”;import * as __vite_glob_1_9 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/Radio.vue”;import * as __vite_glob_1_10 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioButton.vue”;import * as __vite_glob_1_11 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioCard.vue”;import * as __vite_glob_1_12 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/MultiSelect.vue”;import * as __vite_glob_1_13 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/SingleSelect.vue”;import * as __vite_glob_1_14 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/ProgressTableItem.vue”;import * as __vite_glob_1_15 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableCheckbox.vue”;import * as __vite_glob_1_16 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableColumn.vue”;import * as __vite_glob_1_17 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableRadio.vue”;import DynamicsForm from “@/components/dynamics-form/index.vue”;
| ^
2 | let components = /* #PURE */ Object.assign({“/src/components/dynamics-form/Demo.vue”: __vite_glob_0_0,“/src/components/dynamics-form/FormItem.vue”: __vite_glob_0_1,“/src/components/dynamics-form/FormItemLabel.vue”: __vite_glob_0_2,“/src/components/dynamics-form/index.vue”: __vite_glob_0_3,“/src/components/dynamics-form/items/PasswordInput.vue”: __vite_glob_0_4,“/src/components/dynamics-form/items/TextInput.vue”: __vite_glob_0_5,“/src/components/dynamics-form/items/complex/ArrayObjectCard.vue”: __vite_glob_0_6,“/src/components/dynamics-form/items/complex/ObjectCard.vue”: __vite_glob_0_7,“/src/components/dynamics-form/items/complex/TabCard.vue”: __vite_glob_0_8,“/src/components/dynamics-form/items/radio/Radio.vue”: __vite_glob_0_9,“/src/components/dynamics-form/items/radio/RadioButton.vue”: __vite_glob_0_10,“/src/components/dynamics-form/items/radio/RadioCard.vue”: __vite_glob_0_11,“/src/components/dynamics-form/items/select/MultiSelect.vue”: __vite_glob_0_12,“/src/components/dynamics-form/items/select/SingleSelect.vue”: __vite_glob_0_13,“/src/components/dynamics-form/items/table/ProgressTableItem.vue”: __vite_glob_0_14,“/src/components/dynamics-form/items/table/TableCheckbox.vue”: __vite_glob_0_15,“/src/components/dynamics-form/items/table/TableColumn.vue”: __vite_glob_0_16,“/src/components/dynamics-form/items/table/TableRadio.vue”: __vite_glob_0_17
3 |
at formatError (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at async file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 0)
at async TransformContext.transform (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32
Click outside, press Esc key, or fix the code to dismiss.
You can also disable this overlay by setting server.hmr.overlay to false in vite.config.js.
后台打印
d:\tools\maxkb\ui (main → origin)
λ npm run dev
web@v1.0.0 dev
vite
VITE v4.5.3 ready in 763 ms
➜ Local: http://localhost:3000/ui/
➜ Network: http://2.0.0.1:3000/ui/
➜ Network: http://192.168.43.97:3000/ui/
➜ Network: http://192.168.191.1:3000/ui/
➜ Network: http://192.168.220.1:3000/ui/
➜ press h to show help
Failed to resolve import “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue” from “src\components\dynamics-form\index.ts”. Does the file exist?
16:24:37 [vite] Internal server error: Failed to resolve import “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue” from “src\components\dynamics-form\index.ts”. Does the file exist?
Plugin: vite:import-analysis
File: D:/tools/maxkb/ui/src/components/dynamics-form/index.ts:3:25
1 | import * as __vite_glob_0_0 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue”;import * as __vite_glob_0_1 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItem.vue”;import * as __vite_glob_0_2 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItemLabel.vue”;import * as __vite_glob_0_3 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/index.vue”;import * as __vite_glob_0_4 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/PasswordInput.vue”;import * as __vite_glob_0_5 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/TextInput.vue”;import * as __vite_glob_0_6 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue”;import * as __vite_glob_0_7 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ObjectCard.vue”;import * as __vite_glob_0_8 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/TabCard.vue”;import * as __vite_glob_0_9 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/Radio.vue”;import * as __vite_glob_0_10 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioButton.vue”;import * as __vite_glob_0_11 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioCard.vue”;import * as __vite_glob_0_12 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/MultiSelect.vue”;import * as __vite_glob_0_13 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/SingleSelect.vue”;import * as __vite_glob_0_14 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/ProgressTableItem.vue”;import * as __vite_glob_0_15 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableCheckbox.vue”;import * as __vite_glob_0_16 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableColumn.vue”;import * as __vite_glob_0_17 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableRadio.vue”;import * as __vite_glob_1_0 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue”;import * as __vite_glob_1_1 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItem.vue”;import * as __vite_glob_1_2 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/FormItemLabel.vue”;import * as __vite_glob_1_3 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/index.vue”;import * as __vite_glob_1_4 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/PasswordInput.vue”;import * as __vite_glob_1_5 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/TextInput.vue”;import * as __vite_glob_1_6 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ArrayObjectCard.vue”;import * as __vite_glob_1_7 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/ObjectCard.vue”;import * as __vite_glob_1_8 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/complex/TabCard.vue”;import * as __vite_glob_1_9 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/Radio.vue”;import * as __vite_glob_1_10 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioButton.vue”;import * as __vite_glob_1_11 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/radio/RadioCard.vue”;import * as __vite_glob_1_12 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/MultiSelect.vue”;import * as __vite_glob_1_13 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/select/SingleSelect.vue”;import * as __vite_glob_1_14 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/ProgressTableItem.vue”;import * as __vite_glob_1_15 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableCheckbox.vue”;import * as __vite_glob_1_16 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableColumn.vue”;import * as __vite_glob_1_17 from “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/items/table/TableRadio.vue”;import DynamicsForm from “@/components/dynamics-form/index.vue”;
| ^
2 | let components = /* #PURE */ Object.assign({“/src/components/dynamics-form/Demo.vue”: __vite_glob_0_0,“/src/components/dynamics-form/FormItem.vue”: __vite_glob_0_1,“/src/components/dynamics-form/FormItemLabel.vue”: __vite_glob_0_2,“/src/components/dynamics-form/index.vue”: __vite_glob_0_3,“/src/components/dynamics-form/items/PasswordInput.vue”: __vite_glob_0_4,“/src/components/dynamics-form/items/TextInput.vue”: __vite_glob_0_5,“/src/components/dynamics-form/items/complex/ArrayObjectCard.vue”: __vite_glob_0_6,“/src/components/dynamics-form/items/complex/ObjectCard.vue”: __vite_glob_0_7,“/src/components/dynamics-form/items/complex/TabCard.vue”: __vite_glob_0_8,“/src/components/dynamics-form/items/radio/Radio.vue”: __vite_glob_0_9,“/src/components/dynamics-form/items/radio/RadioButton.vue”: __vite_glob_0_10,“/src/components/dynamics-form/items/radio/RadioCard.vue”: __vite_glob_0_11,“/src/components/dynamics-form/items/select/MultiSelect.vue”: __vite_glob_0_12,“/src/components/dynamics-form/items/select/SingleSelect.vue”: __vite_glob_0_13,“/src/components/dynamics-form/items/table/ProgressTableItem.vue”: __vite_glob_0_14,“/src/components/dynamics-form/items/table/TableCheckbox.vue”: __vite_glob_0_15,“/src/components/dynamics-form/items/table/TableColumn.vue”: __vite_glob_0_16,“/src/components/dynamics-form/items/table/TableRadio.vue”: __vite_glob_0_17
3 |
at formatError (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44062:46)
at TransformContext.error (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44058:19)
at normalizeUrl (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41844:33)
at async file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41998:47
at async Promise.all (index 0)
at async TransformContext.transform (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:41914:13)
at async Object.transform (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:44352:30)
at async loadAndTransform (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:55026:29)
at async viteTransformMiddleware (file:///d:/tools/maxkb/ui/node_modules/vite/dist/node/chunks/dep-41cf5ffd.js:64430:32)
16:25:26 [vite] Internal server error: Failed to resolve import “…/…/…/…/…/…/…/d:/tools/maxkb/ui/src/components/dynamics-form/Demo.vue” from “src\components\dynamics-form\index.ts”. Does the file exist?
Plugin: vite:import-analysis