Cannot build the project on latest `dev`
On a Linux machine, if I do a fresh clone of this project, checkout dev
and do ./bin/install
, the purescript code compiles just fine, but at the end I get:
Looking for unused and undeclared transitive dependencies...
❌ Failed to find esbuild. Have you installed it, and is it in your PATH?
> Gargantext@0.0.7.3 css-default-theme
> sass src/sass/themes/default.scss:dist/styles/bootstrap-default.css
sh: line 1: sass: command not found
> Gargantext@0.0.7.3 css-dark-theme
> cp node_modules/bootstrap-dark/src/bootstrap-dark.css dist/styles/bootstrap-dark.css
cp: cannot stat 'node_modules/bootstrap-dark/src/bootstrap-dark.css': No such file or directory
> Gargantext@0.0.7.3 css-herbie-theme
> sass src/sass/themes/herbie.scss:dist/styles/bootstrap-herbie.css
sh: line 1: sass: command not found
> Gargantext@0.0.7.3 css-monotony-theme
> sass src/sass/themes/monotony.scss:dist/styles/bootstrap-monotony.css
sh: line 1: sass: command not found
> Gargantext@0.0.7.3 css-greyson-theme
> sass src/sass/themes/greyson.scss:dist/styles/bootstrap-greyson.css
sh: line 1: sass: command not found
I obviously don't have sass
and esbuild
installed, but shouldn't those be provided by the nix flake?
When I tried to install them manually via npm
, I was getting other errors related to the templates, which I could try to hunt down.
What could be happening?