Comments (7)
Do you mean for a bundled executable? It is not difficult at all, I'm just don't have a mac so I need to either borrow someone's, get a Mac VM, or get someone else to bundle and test it.
Have you tried running it on a mac after npm install electron -g
?
from journee-diary.
I have tried to run it but failed.
electron .
/usr/local/lib/node_modules/electron/index.js:9
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at Object.<anonymous> (/usr/local/lib/node_modules/electron/index.js:9:9)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/electron/cli.js:3:16)
at Module._compile (module.js:643:30)
from journee-diary.
Before you run it you need to run
npm install electron -g
cd journee-diary/app
npm install
and then you can run electron .
from the app
directory
Did you follow all these steps?
from journee-diary.
Sorry I know nothing about Electron.
When I run npm install
,
npm install
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN [email protected] requires a peer of jquery@>=1.8 but none is installed. You must install peer dependencies yourself.
then I installed jquery
npm install --save jquery
but the error remains
electron .
/usr/local/lib/node_modules/electron/index.js:9
throw new Error('Electron failed to install correctly, please delete node_modules/electron and try installing again')
^
Error: Electron failed to install correctly, please delete node_modules/electron and try installing again
at Object.<anonymous> (/usr/local/lib/node_modules/electron/index.js:9:9)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
at Module.require (module.js:587:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/usr/local/lib/node_modules/electron/cli.js:3:16)
at Module._compile (module.js:643:30)
from journee-diary.
You do not need to install jquery. I already have it included.
It looks like there was a problem with your global electron installation.
What happens when you run this: npm install electron -g --verbose
?
What happens when you run:
npm uninstall electron -g
npm install electron -g
from journee-diary.
Thanks! I reinstalled electron and journee launched sucessfully!
from journee-diary.
Great, glad to hear. I have not tested it on a mac yet so please let me know if you have any issues.
from journee-diary.
Related Issues (4)
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 journee-diary.