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

Uglifier::Error: generators cannot be async #76

Open
mauriziomarini opened this issue May 18, 2021 · 1 comment
Open

Uglifier::Error: generators cannot be async #76

mauriziomarini opened this issue May 18, 2021 · 1 comment

Comments

@mauriziomarini
Copy link

mauriziomarini commented May 18, 2021

I have reinstalled on a fresh ubuntu

I choosed to install ruby 2.7.3, maybe this is the issue?

rbenv install 2.7.3

then, after all the required steps
bin/rails assets:precompile db:migrate RAILS_ENV=production_
Yarn executable was not detected in the system.
Download Yarn at https://yarnpkg.com/en/docs/install
rails aborted!

Uglifier::Error: generators cannot be async

@mauriziomarini
Copy link
Author

mauriziomarini commented May 18, 2021

I fixed the Gemfile:

before
gem "decidim", "0.24.2"
#gem "decidim-conferences", "0.24.2"
#gem "decidim-consultations", "0.24.2"
#gem "decidim-elections", "0.24.2"
#gem "decidim-initiatives", "0.24.2"
#gem "decidim-templates", "0.24.2"

after:
gem "decidim", "0.24.2"
#gem "decidim-conferences", "0.24.2"
#gem "decidim-consultations", "0.24.2"
#gem "decidim-elections", "0.24.2"
#gem "decidim-initiatives", "0.24.2"
#gem "decidim-templates", "0.24.2"

now the issue is solved

So the gem below gem "decidim", "0.24.2"
should commented

But

when I should decomment them?
at which step?
this is not documented, sadly
please help!

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

1 participant