安装 Live 服务器时出现“缺少属性”错误

问题描述

Settings.json 文件

{
    "debug.onTaskErrors": "debugAnyway","editor.largeFileOptimizations": false,"workbench.colorTheme": "GitHub Dark","python.pythonPath": "Users/iMac/opt/anaconda3/python.app","editor.suggestSelection": "first","vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue","python.languageServer": "Pylance","git.enableSmartCommit": true,"gitlens.advanced.messages": {
        "suppressgitVersionWarning": true
    },"files.autoSave": "afterDelay","terminal.integrated.inheritEnv": false,"terminal.integrated.shell.osx": "bash","workbench.editorAssociations": [
        {
            "viewType": "jupyter.notebook.ipynb","filenamePattern": "*.ipynb"
        }
    ],"tabnine.experimentalAutoImports": true,"liveServer.settings.https": {
        "enable": true
    },"liveServer.settings.useLocalIp": true,"liveServer.settings.proxy": {
        "proxyUri": "http://127.0.0.1:8000"
    },"liveServer.settings.AdvanceCustombrowserCmdLine": "","liveServer.settings.Custombrowser": "chrome"
}

列出以下错误

缺少属性“cert”。
缺少属性“key”。
缺少属性密码”。
缺少属性“启用”。
缺少属性“baseUri”。

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)