Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker Compose Sass Error #101

Open
HaruVON opened this issue Jan 4, 2024 · 4 comments
Open

Docker Compose Sass Error #101

HaruVON opened this issue Jan 4, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@HaruVON
Copy link

HaruVON commented Jan 4, 2024

Upon following the docker-compose unraid tutorial I'm getting the following error on the UI:
[vite:css] Preprocessor dependency "sass" not found. Did you install it? Try npm install -D sass.

@rishighan rishighan self-assigned this Jan 8, 2024
@rishighan rishighan added the bug Something isn't working label Jan 8, 2024
@EkielZan
Copy link

Got the same issues :

✓ built in 1.80s [vite:css] Preprocessor dependency "sass" not found. Did you install it? Try npm install -D sass. file: /threetwo/src/client/assets/scss/App.scss error during build: Error: Preprocessor dependency "sass" not found. Did you install it? Try npm install -D sass. at loadPreprocessor (file:///threetwo/node_modules/vite/dist/node/chunks/dep-df561101.js:39269:19) at scss (file:///threetwo/node_modules/vite/dist/node/chunks/dep-df561101.js:39310:20) at compileCSSPreprocessors (file:///threetwo/node_modules/vite/dist/node/chunks/dep-df561101.js:38735:36) at compileCSS (file:///threetwo/node_modules/vite/dist/node/chunks/dep-df561101.js:38785:42) at async Object.transform (file:///threetwo/node_modules/vite/dist/node/chunks/dep-df561101.js:38266:56) at async transform (file:///threetwo/node_modules/rollup/dist/es/shared/node-entry.js:24367:16) at async ModuleLoader.addModuleSource (file:///threetwo/node_modules/rollup/dist/es/shared/node-entry.js:24567:30)

@francop311
Copy link

Any update on this?

I am getting the same issue.

Perhaps a quick fix is to update the Dockerfile to include sass during install?

@rishighan
Copy link
Owner

I'll get to updating the individual images this weekend. I'm busy currently with automating download functionality, once that is complete, I can fix this.

@francop311
Copy link

Other issue is with the core-services container where it complains about incorrect version of node.js.

Below is part of the error log:

[2024-05-06T15:49:26.121Z] ERROR threetwo-core-service/BROKER: Failed to load service '/core-services/dist/services/imagetransformation.service.js' Error: Could not load the "sharp" module using the linuxmusl-x64 runtime
Possible solutions:
- Please upgrade Node.js:
    Found 14.21.3
    Requires ^18.17.0 || ^20.3.0 || >=21.0.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants