HTTP 500 - couldn’t find file ‘vendor-bundle’ on sharetribe opensoure

454 Views Asked by At

After creating a dev instance of sharetribe, i got the following http error when hitting local host on port 3000 after “setup your market place”. Any tips on this error would be appreciated.

INFO {“method”:“GET”,“path”:"/",“format”:“html”,“controller”:“HomepageController”,“action”:“index”,“status”:500,“duration”:496.91,“view”:0.0,“db”:45.37,“params”:{},“host”:“0.0.0.0”,“community_id”:1,“current_user_id”:"",“user_agent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:55.0) Gecko/20100101 Firefox/55.0”,“referer”:"",“forwarded_for”:"",“request_uuid”:“522df877-291c-41b3-b286-53ca311e9dd8”} FATAL ActionView::Template::Error - couldn’t find file ‘vendor-bundle’ with type 'application/javascript’ Checked in these paths: /home/administrator/sharetribe/app/assets/font-awesome-icons /home/administrator/sharetribe/app/assets/images /home/administrator/sharetribe/app/assets/javascripts /home/administrator/sharetribe/app/assets/stylesheets /home/administrator/sharetribe/vendor/assets/javascripts /home/administrator/sharetribe/vendor/assets/stylesheets

1

There are 1 best solutions below

0
On

Did you execute this command?

foreman start -f Procfile.static

You could also launch it only

script/wait_for_server_js.sh && rails s -b 0.0.0.0

script/export_routes_js.sh && cd client && npm run build:dev:client

script/export_translations.sh && script/wait_for_routes_js.sh && cd client && npm run build:dev:server