inventree / inventree-website

The official website for InvenTree - The Open Source Inventory System
https://inventree.org
Other
3 stars 10 forks source link

Issues building #145

Closed SchrodingersGat closed 1 year ago

SchrodingersGat commented 1 year ago

Getting a new environment setup, and having trouble building the website.

At the step bundle exec jekyll build:

image

website runs locally but without any css:

image

@matmair any ideas on this one?

SchrodingersGat commented 1 year ago

Might be related to https://github.com/tailwindlabs/tailwindcss/issues/8819 but can't work out how...

matmair commented 1 year ago

That's a new one for me; Maybe try updating the gems 'bundle update' and if that is not working try reinstalling all deps; the commands are in the readme

SchrodingersGat commented 1 year ago

This was from a clean install, following the instructions in README.md.. Will try playing around a bit

SchrodingersGat commented 1 year ago

ubuntu 22.04 under wsl btw

matmair commented 1 year ago

I have to get out a windows device to reproduce, will report back when I have

SchrodingersGat commented 1 year ago

I have (after much hassle) updated to the following versions:

Package Version
gem 3.4.13
ruby 3.2.2
bundler 2.4.13
npm 8.5.1

A different error message now:

image

matmair commented 1 year ago

@SchrodingersGat what node version do you have? You will need 13, better 14

SchrodingersGat commented 1 year ago

Yep, was on node v12 - upgrading to latest version (18) has fixed this. Thanks!

Is the min node version documented anywhere?

matmair commented 1 year ago

@SchrodingersGat I do not think so, the setup is not described in much detail

SchrodingersGat commented 1 year ago

I've improved the docs a bit here