Need help running the ElectronClient

I followed the build instructions given here:

From /ElectronClient you can also run to run the app for testing.” >> When I run this I see the below error.

Can you please help me with this?

1 Like

I thought What dev environment and tools do you use?
This will help me.

I ran yarn dist from joplin/ElectronClient/app
But now I get
ERROR: [Errno 2] No such file or directory: ‘dist’

did you have a look at the build doc ?

edit : forget my reply :slight_smile: i didnt see you 1st post

Could you try to create the "dist" directory in the app folder (I thought it created it automatically)?

And make sure to run all the commands from the build doc, in the same order:

cd ElectronClient/app
rsync --delete -a ../../ReactNativeClient/lib/ lib/
npm install
yarn dist

Thanks for the response, but I followed the steps mentioned in BUILD.mb.

If I create the dist directory and run yarn dist I see the following error now:

ERROR: [Errno 21] Is a directory: 'dist'

I ran npm run pack which fixed this issue.