Error on app rebuild, couldn't find file 'discourse/helpers/parse-html'

Updating a Discourse site using git pull and ./launcher rebuild app is failing at this point:

 I, [2019-04-10T14:36:03.396565 #507]  INFO -- : Writing /var/www/discourse/public/assets/locales/hy-b0f98835ade5d0a314d954d72aaea6c3dae9b9cb901abbee54f82ac516c384ca.js
rake aborted!
Sprockets::FileNotFound: couldn't find file 'discourse/helpers/parse-html' with type 'application/javascript'

...

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle exec rake assets:precompile' failed with return #<Process::Status: pid 505 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"assets_precompile", "cmd"=>["su discourse -c 'bundle exec rake assets:precompile'"]}
2cc3b98dac268af6f786144b49f6d8de4969558f5670fd3a5971d42ff8dc182c
** FAILED TO BOOTSTRAP ** please scroll up and look for earlier error messages, there may be more than one

Anyone have any suggestions regarding the cause of this error and what could be done to fix it?

1 Like

Same issue here

It’s related to the custom-wizard plugin @angus

The error seems related to this commit:

3 Likes

@nbianca do you have any ideas?

1 Like

Just edited my post, pinned it down to custom wizard plugin

3 Likes

I just submitted a PR to @angus to fix this.

6 Likes

@nbianca Thanks, merged :+1:

4 Likes