angristan / feedbin-docker

Self-host your own Feedbin RSS reader in Docker
MIT License
251 stars 35 forks source link

Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable) #115

Open Aiyri opened 9 months ago

Aiyri commented 9 months ago

Hello guys,

I have a problem with the Beef. When I run the ./beef

I have following error :

┌──(root㉿kali)-[~/beef]
└─# ./beef                                     
/var/lib/gems/3.1.0/gems/execjs-2.9.1/lib/execjs/runtimes.rb:68:in `autodetect': Could not find a JavaScript runtime. See https://github.com/rails/execjs for a list of available runtimes. (ExecJS::RuntimeUnavailable)
        from /var/lib/gems/3.1.0/gems/execjs-2.9.1/lib/execjs.rb:5:in `<module:ExecJS>'
        from /var/lib/gems/3.1.0/gems/execjs-2.9.1/lib/execjs.rb:4:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:38:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:38:in `require'
        from /var/lib/gems/3.1.0/gems/uglifier-4.2.0/lib/uglifier.rb:5:in `<top (required)>'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:60:in `require'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:60:in `block (2 levels) in require'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:55:in `each'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:55:in `block in require'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:44:in `each'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler/runtime.rb:44:in `require'
        from /var/lib/gems/3.1.0/gems/bundler-2.5.3/lib/bundler.rb:187:in `require'
        from /root/beef/core/loader.rb:16:in `<top (required)>'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
        from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
        from ./beef:45:in `<main>'