Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
    • Help
    • Submit feedback
    • Contribute to GitLab
  • Sign in
P
purescript-gargantext
  • Project
    • Project
    • Details
    • Activity
    • Releases
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 140
    • Issues 140
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 3
    • Merge Requests 3
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • gargantext
  • purescript-gargantext
  • Issues
  • #701

Closed
Open
Opened Sep 27, 2024 by Alfredo Di Napoli@AlfredoDiNapoli
  • Report abuse
  • New issue
Report abuse New issue

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?

Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
0
Labels
None
Assign labels
  • View project labels
Reference: gargantext/purescript-gargantext#701