mardi 22 septembre 2020

Do I need to install node.js to work with Ruby on rails?

I just installed Ruby and then installed rails. Created a new project. and tried to run it.

It throws an error:

C:/Ruby27/lib/ruby/gems/2.7.0/gems/webpacker-4.3.0/lib/webpacker/configuration.rb:95:in `rescue in load': Webpacker configuration file not found C:/Users/user/Desktop/projects/Ruby/blog/config/webpacker.yml. Please run rails webpacker:install Error: No such file or directory @ rb_sysopen - C:/Users/name/Desktop/projects/Ruby/blog/config/webpacker.yml (RuntimeError)

After some research I understood it required Yarn which belongs to node.js

Is that the only solution?

Os :Win10

Aucun commentaire:

Enregistrer un commentaire