Foreman build gets stuck NPM 10.15.3

Hi Everyone,
I am new to the project, and just started playing around with it a bit. I am installing sharetribe 8.1 on Ubuntu.
I was a bit confused because the installation guide said to use Node 7.8, but the stack said it uses node 10.15.

I’ve tried every combination. When I use 10.15.3 through installation and build, the process gets stuck in this stage:
14:05:55 rails-client-assets.1 | Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref–5-1!node_modules/postcss-loader/src/index.js!app/components/sections/Topbar/Topbar.css:
14:05:55 rails-client-assets.1 | Entrypoint mini-css-extract-plugin = *
14:05:55 rails-client-assets.1 | 2 modules

I, tried again installing with node 7.8 and the npm-check kills my run because it is configured with 10.15.3

The only combination that has worked to kick off the server is installing with node 7.8 and running with note 10.15.3, the problem is that some errors arrise and not all components work properly (topbar doesn’t display user drop down)

I am not really a developer so I might be doing something wrong, what could I try to do?

Thanks,
Jose

The README.md Installation documentation is outdated. The (only) node version required is 10.15, not 7.8. I encountered the same problem like yours when I first installed node 7.8, ran npm install, then installed node 10.15 for foreman. I think the problem is node 7.8 is packed with npm 4.x so you don’t install the right things. To fix this I simply re-do everything with node 10.15 installed since the very beginning and run npm install (as now you install with npm 6.x). Good luck!

@thai I’m a bit confused: the readme mentions 10.15 at https://github.com/sharetribe/sharetribe/#technology-stack.

Did you find another location where the information isn’t correct?

@josepozuelo
First of all you for 8.1 version you have to install node 10.15.3 version and make it default using n. If you are using n then simply use
sudo n 10.15.3

I am sure it will solve your problem.

@thomasmalbaux that part is correct. But the instruction @ https://github.com/sharetribe/sharetribe/#installation specifies

Node . Version 7.8 is currently used and we don’t guarantee everything works with other versions. If you need multiple versions of Node, consider using n, nvm, or nenv.

@Ali_Hassan_Mirza v7.8.0 and 10.15.3. also workout to resolve the issue

Oh wow. That’s an error. Sorry about that, it seems I’ve simply missed it when updating things after the version upgrade. Good catch!

Now fixed at https://github.com/sharetribe/sharetribe/blob/master/README.md#installation

Thanks again.

I have the same issue with node 10.15.3 and ruby 2.6.5
foreman start -f Procfile.static build stuck at:
10:04:53 rails-client-assets.1 | Child mini-css-extract-plugin node_modules/css-loader/dist/cjs.js??ref–5-1!node_modules/postcss-loader/src/index.js!app/components/sec

  • tions/Topbar/Topbar.css: *
  • 10:04:53 rails-client-assets.1 | Entrypoint mini-css-extract-plugin = * 0:04:53 rails-client-assets.1 | 2 modules*

Does anybody know what’s the issue here or how to debug for errors ?