Comments (3)
from hioshop-admin.
Error: GET https://github.com/electron/electron/releases/download/v3.1.13/electron-v3.1.13-darwin-arm64.zip returned 404 应该是由于Github源删除导致依赖包无法完成安装,将package.json中electron版本改为最新的20.3.6,再次运行就一直停顿在
⠧ reify:app-builder-bin: timing reifyNode:node_modules/accessibility-developer-tools Completed in 4306ms
请问这个问题如何解决?
我也想问 他这个有问题跑不起来
from hioshop-admin.
在package.json里把版本"electron": "^3.1.13"
换成官网最新的,比如我现在是v24.1.3,所以就会变成"electron": "^24.1.3"
然后使用cnpm i
(我用npm i会有各种element和vue之间的冲突,看来这项目真是太老了😂)
然后在src/main/index.js里面把function createWindow ()
函数里的内容改成:
const mainWindow = new BrowserWindow({ width: 1000, height: 600, webPreferences: { nodeIntegration: true, contextIsolation: false, enableRemoteModule: true, }, }); mainWindow.loadURL(winURL)
上面这个是因为新版electron改了点东西,要适配一下才行,不然会白屏。
然后按readme里说的把element的bug修复一下,就可以运行起来了(虽然很多警告😂,凑合用了)
然后默认账号密码是hiolabs
from hioshop-admin.
Related Issues (14)
- 咨询 HOT 1
- 本地前后端数据无法交互
- 服务端数据库改了?
- 启动报错 HOT 1
- 你好
- 请问一下跨域问题如何解决呀,
- 请问这个不能部署成web 网页端是吗
- login error
- 打包部署后 访问会提示错误:process is not defined HOT 1
- 商品封面图无法上传 HOT 2
- 添加商品接口报500
- 有进行h5适配吗
- /home/ubuntu/hioshop/hioshop-admin/node_modules/electron/dist/electron: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hioshop-admin.