Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error Command "electron:serve" not found. #1

Closed
jimholmes opened this issue Dec 7, 2022 · 6 comments
Closed

error Command "electron:serve" not found. #1

jimholmes opened this issue Dec 7, 2022 · 6 comments

Comments

@jimholmes
Copy link

Unable to run fresh clone locally.

Using NVM to support required Node version 16.17.1.

Repro steps, following steps from the setup page:

  1. Cloned repo locally
  2. yarn install
  3. yarn run electron:serve

Getting message: error Command "electron:serve" not found.

I've re-run "yarn install" a couple times to make sure deps are correctly installed.

@dacoaster
Copy link
Collaborator

@jimholmes -

I just built this on a fresh Ubuntu 22.04 VM without issue. From a fresh install, I ran:

sudo apt-get install -y git curl
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.2/install.sh | bash
git clone https://github.com/dacoaster/yattie.git
cd yattie
nvm install
npm install --global yarn
yarn install
yarn dev

And it opens up.

What platform are you on?
Do you see any errors or issues with your yarn install?

@dacoaster
Copy link
Collaborator

Also, please keep in mind that you can download the pre-built package from the releases page if you are just looking to run the application and not develop on it.

@jimholmes
Copy link
Author

jimholmes commented Dec 7, 2022

I'm on a Mac (Monterey 12.6.1). I was trying to follow the instructions in CONTRIBUTING.md as I'm unfamiliar with Node, Yarn, and Electron/Vue.

I did a fresh clone, then

yarn install
yarn run serve

and it worked fine. The problem was specifically 'yarn run electron:serve'

'yarn dev' works fine too.

I guess you can close this issue, as it's my ignorance about the stack and knowing how to deviate from the directions in CONTRIB.

Looking forward to spending time with Yattie!

@dacoaster
Copy link
Collaborator

Ah - definitely my bad. I changed how the script was run and didn't update the CONTRIBUTING doc.

Fixed!

@jimholmes
Copy link
Author

Thanks. I'm 100% new to Node and Electron, and was not comfortable enough to do a PR for the docs...

@dacoaster
Copy link
Collaborator

No worries - I appreciate the heads up. Let me know if you have any other questions. Also, any and all feedback on the tool is appreciated!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants