rails assets:precompile Yarn executable was not detected in the system

前端 未结 1 1276
南旧
南旧 2021-01-05 07:28

I am using Linux 18 based on Ubunt 17.04. When I run rails assets:precompile I get the following message Yarn executable was not detected in the system

1条回答
  •  孤城傲影
    2021-01-05 08:26

    yarn is node package manager yarn

    you have to install it as here instrauction installation guide If you have node and npm you can install it via

    npm install yarn -g


    If you dont have npm in your machine go to this link and install node which will also install npm


    If you want to manage multiple version node like RVM then you need to checkout this link

    0 讨论(0)
提交回复
热议问题