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
[make serve] make: *** No rule to make target sass, needed by dist/website.css. Stop. #2443
Comments
sass', needed by
dist/website.css'. Stop.
FYI:
$ ./node_modules/.bin/node-sass --version
node-sass 4.14.1 (Wrapper) [JavaScript]
libsass 3.5.5 (Sass Compiler) [C/C++] |
Here's a patch to fix the diff --git a/Makefile b/Makefile
index fbd054945..ccbcce9fb 100644
--- a/Makefile
+++ b/Makefile
@@ -142,8 +142,8 @@ dist/converse.js:: node_modules
dist/converse.css:: node_modules
npm run dev
-dist/website.css:: node_modules sass
- $(SASS) --source-map true --include-path $(BOOTSTRAP) sass/website.scss $@
+dist/website.css:: node_modules
+ $(SASS) --source-map true --include-path $(BOOTSTRAP) src/shared/styles/website.scss $@
dist/website.min.css:: node_modules dist/website.css
$(CLEANCSS) dist/website.css > $@ |
I was about to report this, The patch above fixes it, do make a PR |
@jcbrand that 724a685 fix is not complete as .min.js is not generated for
But the fix from OP above works fine. |
Thanks, I think it's fixed now. |
Describe the bug
On macOS Big Sur 11.2.3 from fresh
git clone
,make serve
fails:To Reproduce
Steps to reproduce the behavior:
Expected behavior
make serve
should not produce the above error and should load the dev HTTP server.Screenshots
N/A
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: