@techAPJ
«Beginners Guide to Install Discourse on Ubuntu for Development ».
I use the latest stock version of Ubuntu Desktop (16.04.3 LTS ) which is unmodified, without any extra packages previously installed apart from the guide’s previous steps packages .
The bundle exec rake autospec
guide’s step fails:
jhead worker: jhead
not found; please provide proper binary or disable this worker (–no-jhead argument or :jhead => false
through options)
svgo worker: svgo
not found; please provide proper binary or disable this worker (–no-svgo argument or :svgo => false
through options)
techAPJ
(Arpit Jalan)
December 27, 2017, 6:36am
2
Here’s how to fix this:
# install jhead
sudo apt-get -y install jhead
# install node.js and svgo
curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
sudo apt-get install -y nodejs
sudo npm install -g svgo
Updated the install script to install jhead
as well, need to figure out how to install svgo
without adding node as dependency.
7 Likes
Falco
(Falco)
December 27, 2017, 1:16pm
3
I believe there is no problem adding node
deps now that our repo has package.json
and yarn.lock
.
5 Likes
codinghorror
(Jeff Atwood)
Closed
December 31, 2017, 2:08am
4
This topic was automatically closed after 3 days. New replies are no longer allowed.