Contents

electron 新手轉exe筆記

Contents

要做blog移轉,筆記先存檔…

https://github.com/pfan123/electron-docs

Logdown
https://logdown.com/account/posts/2463354/edit
electron-packager
https://github.com/pfan123/electron-docs
Getting Started for Electron
https://help.syncfusion.com/js/electron
demian85/electron-chat-app-demo: Simple Electron Chat App Demo (evaluation task)
https://github.com/demian85/electron-chat-app-demo
pfan123/electron-docs: electron-docs学习文档
https://github.com/pfan123/electron-docs
Squirrel.Windows/5-updating.md at master · Squirrel/Squirrel.Windows
https://github.com/Squirrel/Squirrel.Windows/blob/master/docs/getting-started/5-updating.md

chat package.json

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
  "dependencies": {
    "express": "4.14.0",
    "marked": "^0.3.6",
    "socket.io": "1.4.8",
    "babel-cli": "^6.16.0",
    "babel-preset-react": "^6.16.0",
    "electron": "^1.4.2",
    "eslint": "^3.7.0",
    "eslint-config-airbnb": "^12.0.0",
    "eslint-plugin-import": "^1.16.0",
    "eslint-plugin-jsx-a11y": "^2.2.2",
    "eslint-plugin-react": "^6.3.0"
  }
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
1181 verbose unbuild rmStuff eslint-config-airbnb@12.0.0 from C:\Users\ADMINI~1\AppData\Local\Temp\electron-packager\win32-x64\electron-chat-app-demo-win32-x64\resources\app\node_modules
1182 verbose unbuild rmStuff in node_modules
1183 info lifecycle eslint-config-airbnb@12.0.0~postuninstall: eslint-config-airbnb@12.0.0
1184 silly unbuild eslint@3.19.0
1185 info lifecycle eslint@3.19.0~preuninstall: eslint@3.19.0
1186 info lifecycle eslint@3.19.0~uninstall: eslint@3.19.0
1187 verbose unbuild rmStuff eslint@3.19.0 from C:\Users\ADMINI~1\AppData\Local\Temp\electron-packager\win32-x64\electron-chat-app-demo-win32-x64\resources\app\node_modules
1188 verbose unbuild rmStuff in node_modules
1189 verbose unlock done using C:\Users\Administrator\AppData\Roaming\npm-cache\_locks\staging-834cabcd517fd52e.lock for C:\Users\ADMINI~1\AppData\Local\Temp\electron-packager\win32-x64\electron-chat-app-demo-win32-x64\resources\app\node_modules\.staging
1190 verbose stack Error: May not delete: C:\Users\ADMINI~1\AppData\Local\Temp\electron-packager\win32-x64\electron-chat-app-demo-win32-x64\resources\app\node_modules\.bin
1190 verbose stack     at gentlyRm (C:\Program Files\nodejs\node_modules\npm\lib\utils\gently-rm.js:49:15)
1190 verbose stack     at gentlyRmBinRoot (C:\Program Files\nodejs\node_modules\npm\lib\unbuild.js:86:12)
1190 verbose stack     at cb (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\async-map.js:47:24)
1190 verbose stack     at LOOP (C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:7:26)
1190 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:18:7
1190 verbose stack     at C:\Program Files\nodejs\node_modules\npm\lib\utils\gently-rm.js:70:40
1190 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\slide\lib\chain.js:16:22
1190 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\iferr\index.js:11:16
1190 verbose stack     at C:\Program Files\nodejs\node_modules\npm\node_modules\graceful-fs\polyfills.js:284:29
1190 verbose stack     at FSReqWrap.oncomplete (fs.js:153:21)
1191 verbose cwd C:\Users\ADMINI~1\AppData\Local\Temp\electron-packager\win32-x64\electron-chat-app-demo-win32-x64\resources\app
1192 verbose Windows_NT 10.0.15063
1193 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "prune" "--production"
1194 verbose node v8.5.0
1195 verbose npm  v5.3.0
1196 error May not delete: C:\Users\ADMINI~1\AppData\Local\Temp\electron-packager\win32-x64\electron-chat-app-demo-win32-x64\resources\app\node_modules\.bin
1197 verbose exit [ 1, true ]