I’ve followed the steps for installation of Sharetribe from github. I’m running sharetribe in dev environment and I get this error on the browser console when I try to post a new list but the form is not shown. Also, the drop-down for the user logged is not working. I saw in another topic that create a foo function inside a react component could fix a similar problem, I tried but it doesn’t work for me
I run the server with this command
nash@Nash-L:~/sharetribe$ foreman start -f Procfile.static
00:38:46 rails.1 | started with pid 28291
00:38:46 rails-client-assets.1 | started with pid 28292
00:38:46 rails-server-assets.1 | started with pid 28294
00:38:46 rails.1 | Waiting for app/assets/webpack/server-bundle.js...
00:38:46 rails.1 | app/assets/webpack/server-bundle.js found
00:38:46 rails-client-assets.1 | Skipping routes export task. Routes file ./client/app/routes/routes.js exists already.
00:38:46 rails-server-assets.1 | Skipping translation export task. Translation bundle ./client/app/i18n/all.js exists already.
00:38:47 rails-server-assets.1 | Waiting for client/app/routes/routes.js...
00:38:47 rails-server-assets.1 | client/app/routes/routes.js found
00:38:53 rails-server-assets.1 |
00:38:53 rails-server-assets.1 | > @ build:dev:server /home/nash/sharetribe/client
00:38:53 rails-client-assets.1 |
00:38:53 rails-server-assets.1 | > npm run ensure-node-version && webpack -w --config webpack.server.config.js
00:38:53 rails-client-assets.1 | > @ build:dev:client /home/nash/sharetribe/client
00:38:53 rails-server-assets.1 |
00:38:53 rails-client-assets.1 | > npm run ensure-node-version && webpack -w --config webpack.client.config.js
00:38:53 rails-client-assets.1 |
00:38:53 rails-client-assets.1 |
00:38:53 rails-client-assets.1 | > @ ensure-node-version /home/nash/sharetribe/client
00:38:53 rails-client-assets.1 | > check-node-version --package
00:38:53 rails-client-assets.1 |
00:38:53 rails-server-assets.1 |
00:38:53 rails-server-assets.1 | > @ ensure-node-version /home/nash/sharetribe/client
00:38:53 rails-server-assets.1 | > check-node-version --package
00:38:53 rails-server-assets.1 |
00:38:54 rails-server-assets.1 | node: v7.8.0
00:38:54 rails-server-assets.1 | npm: v4.2.0
00:38:54 rails-client-assets.1 | node: v7.8.0
00:38:54 rails-client-assets.1 | npm: v4.2.0
00:39:14 rails-client-assets.1 | Webpack dev build for Rails
Also this is what I get after tun npm install
nash@Nash-L:~/sharetribe$ npm install
> undefined postinstall /home/nash/sharetribe
> cd client && npm install
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@^1.0.0 (node_modules/chokidar/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
I’m using Ubuntu 16.04. If it helps I just let you know that a previous version of sharetribe works well