Giter Club home page Giter Club logo

Comments (3)

pittleCheung avatar pittleCheung commented on May 15, 2024

image

from hioshop-admin.

pittleCheung avatar pittleCheung commented on May 15, 2024

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.

yk47g avatar yk47g commented on May 15, 2024

在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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.