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

Rule can have only one resource error on yarn electron:serve #315

Closed
18alantom opened this issue Jan 19, 2022 · 1 comment
Closed

Rule can have only one resource error on yarn electron:serve #315

18alantom opened this issue Jan 19, 2022 · 1 comment
Labels
build Issue regarding building, serving, or other dev setup.

Comments

@18alantom
Copy link
Member

This issue sprung up when trying to get Frappe Books to work on an M1 laptop by switching sqlite3 source repo. (ref)

If you are facing this issue (which I'm certain you are) then this sequence of commands should get it running:

# Running this will create two folders in [pwd]

# Setting up local frappejs
git clone https://github.com/frappe/frappejs
cd frappejs && yarn && yarn link
cd ..

# Setting up books
git clone https://github.com/frappe/books
cd books && yarn upgrade frappejs && yarn link frappejs

# Running books in develop
yarn electron:serve

The important line above is yarn upgrade frappejs without which you'll still face the issue. Will close this when it's been fixed.

@18alantom 18alantom added the build Issue regarding building, serving, or other dev setup. label Jan 19, 2022
@18alantom 18alantom pinned this issue Jan 19, 2022
@18alantom
Copy link
Member Author

Fixed in #320

@18alantom 18alantom unpinned this issue Jan 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issue regarding building, serving, or other dev setup.
Projects
None yet
Development

No branches or pull requests

1 participant