diaspora/diaspora

[Develop][FreeBSD][installation] underscore js is missing

DavidMarec opened this issue · 1 comments

Trying to install a new Diaspora* pod on a FreeBSD server, following the develop branch (I have another pod running v0.7.18.1 on freebsd), I hit the following issue while calling the last command:

RAILS_ENV=production bin/rake assets:precompile
rake aborted!                                                                                                                                                                                                       
Sprockets::FileNotFound: couldn't find file 'underscore/underscore-umd' with type 'application/javascript'   

I started from the debian guide with few FreeBSD adjustments.

Node18 and Yarn are installed and the underscore entry is defined in the yarn.lock file.

Any clue ?

It's a yarn issue on FreeBSD.

One has to enable the following feature

sysctl kern.elf64.allow_wx=1

To make yarn work correctly.