11 2020 档案
摘要:将所有环境都搭建好之后通过 yarn electron:serve 启动APP,出现如下信息: INFO Launching Electron... Failed to fetch extension, trying 4 more times Failed to fetch extension, t
阅读全文
摘要:通过命令 vue add electron-builder 安装 electron-builder 报如下错误: D:\Code\Web\StudyOrTest\vue_init> vue add electron-builder WARN There are uncommitted changes
阅读全文
摘要:在安装 @vue/cli 脚手架的时候,通过npm安装总是无法成功,改用淘宝镜像安装也是一样的。自己改用yarn安装,确实能够安装,但是安装完成后无法执行vue命令,执行时提示如下错误: D:\Code\Web\StudyOrTest> vue vue : 无法将“vue”项识别为 cmdlet、函
阅读全文
摘要:通过 webpack 框架运行 electron 程序是报如下错误: ValidationError: Invalid configuration object. Webpack has been initialized using a configuration object that does
阅读全文
摘要:通过yarn包管理器安装 electron-webpack 时,报如下错误: D:\Code\Web\StudyOrTest\electronStudy> yarn add webpack --dev yarn add v1.22.10 [1/4] Resolving packages... err
阅读全文
摘要:学习Electron时,在渲染进程中通过remote打开开发这工具,发现点击按钮没有反应。 const remote = require('electron').remote; let openDevToolsBtn = document.querySelector("#openDevToolsBt
阅读全文
摘要:问题描述:使用ejs模版时,在模版中嵌入页面/页脚模版,运行后,报如下错误: SyntaxError: Unexpected identifier in D:\Code\Web\StudyOrTest\later\views\articles.ejs while compiling ejs If t
阅读全文
摘要:问题描述:vscode 通过debegger for chrome运行JavaScript报【无法访问此网站 localhost 拒绝了我们的连接请求。】的错误。 问题原因:电脑没有安装IIS服务,无法做为web服务器 解决方案:安装IIS服务,并绑定【8080】端口,将ip地址设置为【全部未配置】
阅读全文