this is my 5th day with this sharetribe installation… did line by line installed of all necessary gems with their versions.
but in that rake ts:index level i met problem related to webpack… db structure only generated in my mysql…
cant proceed to goto next step.
any guide for me?
here is my logs when i tried bundle exec rake jobs:work
(in /var/www/html)
WARN You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warning
You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warning
[Worker(host:vps4719.unoeuro-server.com pid:342)] Starting job worker
INFO 2016-09-24T14:49:04+0200: [Worker(host:vps4719.unoeuro-server.com pid:342)] Starting job worker
DEBUG SQL (0.3ms) UPDATE delayed_jobs SET delayed_jobs.locked_at = ‘2016-09-24 12:49:04’, delayed_jobs.locked_by = ‘host:vps4719.unoeuro-server.com pid:342’ WHERE ((run_at <= ‘2016-09-24 12:49:04’ AND (locked_at IS NULL OR locked_at < ‘2016-09-24 12:46:04’) OR locked_by = ‘host:vps4719.unoeuro-server.com pid:342’) AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1
WARN You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warning
You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warning
DEBUG SQL (0.4ms) UPDATE delayed_jobs SET delayed_jobs.locked_at = ‘2016-09-24 12:49:09’, delayed_jobs.locked_by = ‘host:vps4719.unoeuro-server.com pid:342’ WHERE ((run_at <= ‘2016-09-24 12:49:09’ AND (locked_at IS NULL OR locked_at < ‘2016-09-24 12:46:09’) OR locked_by = ‘host:vps4719.unoeuro-server.com pid:342’) AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1
WARN You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warning
You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warning
DEBUG SQL (0.3ms) UPDATE delayed_jobs SET delayed_jobs.locked_at = ‘2016-09-24 12:49:15’, delayed_jobs.locked_by = ‘host:vps4719.unoeuro-server.com pid:342’ WHERE ((run_at <= ‘2016-09-24 12:49:15’ AND (locked_at IS NULL OR locked_at < ‘2016-09-24 12:46:15’) OR locked_by = ‘host:vps4719.unoeuro-server.com pid:342’) AND failed_at IS NULL) ORDER BY priority ASC, run_at ASC LIMIT 1
WARN You specified server rendering JS file: app/assets/webpack/server-bundle.js, but it cannot be read. You may set the server_bundle_js_file in your configuration to be “” to avoid this warn
Sorry, but I’m still not sure what’s the error you are facing. Can you describe your problem a bit more?
What commands have you run before bundle exec rake jobs:work? Any errors there? Have you started the Rails server by running foreman start -f Procfile.static? Did the server start properly? Are you able to access the localhost:3000?
Have you tried with node 6.1 (which is the currently supported version)?
My current versions for node environment seems to be:
$ node --version && npm --version
v6.1.0
3.10.7
Also, the error log states that it can’t find ‘extract-text-webpack-plugin’, did you managed to fetch that one when you installed node modules with npm install?