stephanepericat / toptal-electron-loki-demo Goto Github PK
View Code? Open in Web Editor NEWElectron: Cross-platform Desktop Apps Made Easy
Home Page: http://www.toptal.com/javascript/electron-cross-platform-desktop-apps-easy
License: MIT License
Electron: Cross-platform Desktop Apps Made Easy
Home Page: http://www.toptal.com/javascript/electron-cross-platform-desktop-apps-easy
License: MIT License
The current version of Electron does not support the code in this repo. It may be useful to update this tutorial code with the latest version of electron.
Using the latest version of Electron 1.4.13, the app does not start.
| => npm start
> [email protected] start toptal-electron-loki-demo
> electron ./src
App threw an error during load
Error: Cannot find module 'app'
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (/usr/local/lib/node_modules/electron-prebuilt/dist/Electron.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/MY/Downloads/js/toptal-electron-loki-demo/src/app.js:9:11)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
Uncaught Exception:
Error: Cannot find module 'app'
at Module._resolveFilename (module.js:455:15)
at Function.Module._resolveFilename (/usr/local/lib/node_modules/electron-prebuilt/dist/Electron.app/Contents/Resources/electron.asar/common/reset-search-paths.js:35:12)
at Function.Module._load (module.js:403:25)
at Module.require (module.js:483:17)
at require (internal/module.js:20:19)
at Object.<anonymous> (/Users/MY/Downloads/js/toptal-electron-loki-demo/src/app.js:9:11)
at Module._compile (module.js:556:32)
at Object.Module._extensions..js (module.js:565:10)
at Module.load (module.js:473:32)
at tryModuleLoad (module.js:432:12)
Hi,
I enjoyed your blog post on TopTal.
I'm not sure if this is just my setup; however, when I tried to follow the instructions on the README, I got some errors. After running bower install
and replacing all references of "bower_components" to "public/lib", everything seemed to work as expected.
Just thought you might want to know.
$ npm --version
3.3.5
$ bower --version
1.6.3
Hi,
I managed to install and run the app perfectly.
I have an issue with the part below.
it seems that my BrowserWindow have no isClosed function so when I click on the "+", I get an uncaught exception :
Any idea where I should investigate ?
**
--> I "resolved" the issue with slight corrections:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.