English 中文(简体)
2. 建造我的电离层
原标题:Error when building my electron app
问题回答

您是否安装了<条码>电子数据/代码>? 你们的一揽子计划都没有。 json。 然后,我提议使用<代码>electron-builder的指挥,作为,作者建议

页: 1 仅凭<条码>当选/设计>。 由于每个违约电离层为现有运行的非洲顾问办公室铺设,因此不必发送<代码>-w。 如果你仍然遇到问题,则试图确定以下变量,以获得

DEBUG=electron-builder,electron-builder:*

Edit after getting more information from the comments: According to this issue at GitHub your first issue seemed to be caused by permission errors, and was solved with running as administrator.

http://www.npmjs.com/ Package/electron-builder#installation”rel=“nofollow noreferer” README:

Yarn is strongly recommended instead of npm.

yarn add electron-builder --dev

删除<代码>_modules 翻纸和跑

npm install yarn -g && yarn && yarn pack

第一台安装了电灯,安装线如下:

npm install -g electron-builder

然后,我就在我的项目的根基中创建了一个建筑群,其中包含了 app木的ico。 我随后在我的一揽子计划中写下了部分内容。 json

"build": {
"appId": "your.app.id",
"productName": "Your final product name"
}

以及

"scripts": {
"start": "electron .",
"pack": "build --dir"
}

That was everything I needed. I opend my root folder in the terminal 以及executed

build -w

这创造了一个叫 dis的圆顶,我用手提的无包装版本加一台安装器。

www.un.org/Depts/DGACM/index_spanish.htm 强烈建议Yarn而不是npm.。

yarn add electron-builder --dev

if you are using Npm
do just simple steps terminal:

1 npm install yarn -g
2 yarn
3 yarn pack

<https://medium.com/@devesu/how-to-build-a-react-based-electron-app-d0f27413f17f”rel=“nofollow noreferer”> 阅读这一Blog (ReactJS in electronicnApp with .exe file)





相关问题
selected text in iframe

How to get a selected text inside a iframe. I my page i m having a iframe which is editable true. So how can i get the selected text in that iframe.

How to fire event handlers on the link using javascript

I would like to click a link in my page using javascript. I would like to Fire event handlers on the link without navigating. How can this be done? This has to work both in firefox and Internet ...

How to Add script codes before the </body> tag ASP.NET

Heres the problem, In Masterpage, the google analytics code were pasted before the end of body tag. In ASPX page, I need to generate a script (google addItem tracker) using codebehind ClientScript ...

Clipboard access using Javascript - sans Flash?

Is there a reliable way to access the client machine s clipboard using Javascript? I continue to run into permissions issues when attempting to do this. How does Google Docs do this? Do they use ...

javascript debugging question

I have a large javascript which I didn t write but I need to use it and I m slowely going trough it trying to figure out what does it do and how, I m using alert to print out what it does but now I ...

Parsing date like twitter

I ve made a little forum and I want parse the date on newest posts like twitter, you know "posted 40 minutes ago ","posted 1 hour ago"... What s the best way ? Thanx.

热门标签