# 빌드 중 오류: discourse는 sprockets를 통해 scss/sass 파일을 컴파일하는 것을 지원하지 않음

**URL:** https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402
**Category:** Self-hosting
**Created:** [4월 25, 2024, 10:08오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402 "2024-04-25T10:08:14Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![hytallenxu-sama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hytallenxu-sama/32/381341_2.png) [@hytallenxu-sama](https://meta.discourse.org/u/hytallenxu-sama)
#### Post date: [4월 25, 2024, 10:08오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/1 "2024-04-25T10:08:14Z")

</div>

웹사이트를 열어서 사이트를 초기화하려고 할 때 이 오류를 발견했습니다. 어떻게 수정해야 할지 모르겠으니, 도와주실 분 계신가요?

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [4월 25, 2024, 10:17오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/2 "2024-04-25T10:17:45Z")

</div>

표준 설치 중 이 오류가 발생했나요? 아니면 이전에 정상적으로 작동하던 사이트를 다시 구축하고 계신 건가요?

RAM과 스왑 용량은 각각 얼마나 되나요?

---

<div class="post-metadata">

### Author: ![hytallenxu-sama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hytallenxu-sama/32/381341_2.png) [@hytallenxu-sama](https://meta.discourse.org/u/hytallenxu-sama)
#### Post date: [4월 25, 2024, 10:46오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/4 "2024-04-25T10:46:48Z")

</div>

개발 버전인 것 같은데, 내 RAM이 2GB뿐인 것 같아요…

재빌드하는 게 아니라, 지금 사이트를 빌드하고 있습니다.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [4월 25, 2024, 10:53오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/5 "2024-04-25T10:53:19Z")

</div>

그래서 [Docker를 사용하여 개발용 Discourse 설치](https://meta.discourse.org/t/install-discourse-for-development-using-docker/102009)를 할까요, 아니면 네이티브 설치로 할까요?

RAM이 2GB밖에 없는 개발용 머신을 사용할 수 있다고 생각하지 않습니다.

---

<div class="post-metadata">

### Author: ![hytallenxu-sama](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/hytallenxu-sama/32/381341_2.png) [@hytallenxu-sama](https://meta.discourse.org/u/hytallenxu-sama)
#### Post date: [4월 25, 2024, 10:59오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/7 "2024-04-25T10:59:52Z")

</div>

네이티브 설치…

문제는 프로덕션용으로 디스코스를 설치하고 싶은데, 스왑 공간이 부족해서 도커 설치를 지원하지 않는다는 겁니다. 그래서 개발 환경으로 전환했는데, 2GB 램짜리 머신에서 이게 가능할 줄 처음엔 생각했네요, 하하.

---

<div class="post-metadata">

### Author: ![pfaffman](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pfaffman/32/120154_2.png) [@pfaffman](https://meta.discourse.org/u/pfaffman)
#### Post date: [4월 25, 2024, 12:20오후 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/9 "2024-04-25T12:20:57Z")

</div>

컴퓨터를 사용하지 않는 다른 사람들이 이 서비스를 사용하도록 하려면 프로덕션 설치 환경을 구성해야 합니다. 스왑 공간을 최소 2GB로 늘릴 수 없다면(늘릴 수 있어야 합니다) 다른 VM을 사용해야 합니다.

---

<div class="post-metadata">

### Author: ![LOKESH\_KUMAR](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lokesh_kumar/32/389165_2.png) [@LOKESH\_KUMAR](https://meta.discourse.org/u/LOKESH_KUMAR)
#### Post date: [5월 29, 2024, 4:38오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/10 "2024-05-29T04:38:25Z")

</div>

![image](https://global.discourse-cdn.com/meta/original/4X/d/b/4/db4564a4536a765d442b6eb1db352304d8a032aa.png)

discourse에 Auth0를 설정할 때 이 오류가 발생하고 있습니다! 도와주실 분 계신가요?

---

<div class="post-metadata">

### Author: ![moledj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moledj/32/424011_2.png) [@moledj](https://meta.discourse.org/u/moledj)
#### Post date: [6월 12, 2024, 10:41오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/11 "2024-06-12T10:41:20Z")

</div>

저도 Mac Intel에서 같은 문제를 겪고 있습니다. 네이티브 macOS 설치와 Docker에서 모두 시도해 보았지만, 두 경우 모두 동일한 문제가 발생합니다.

---

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [6월 12, 2024, 10:48오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/12 "2024-06-12T10:48:50Z")

</div>

플러그인이 설치되어 있나요?

---

<div class="post-metadata">

### Author: ![moledj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moledj/32/424011_2.png) [@moledj](https://meta.discourse.org/u/moledj)
#### Post date: [6월 12, 2024, 11:05오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/13 "2024-06-12T11:05:27Z")

</div>

아니요, 저는 그냥 클린 개발 설치를 하려던 것이었습니다. 관리자 계정을 생성한 직후, 처음 localhost:3000에 접속하려고 할 때 그런 일이 발생했어요. 저는 최근에 설치한 Mac을 사용하고 있습니다.

---

<div class="post-metadata">

### Author: ![moledj](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/moledj/32/424011_2.png) [@moledj](https://meta.discourse.org/u/moledj)
#### Post date: [6월 12, 2024, 11:08오전 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/14 "2024-06-12T11:08:05Z")

</div>

잠깐, 답글을 쓰다가 보니 제가 포트 4200이 아니라 3000을 쓰고 있더라고요. 방금 포트 4200을 시도해 보니 잘 작동합니다. 아마 스레드를 시작한 다른 사용자도 같은 문제를 겪었을지도 모르겠네요.

---

<div class="post-metadata">

### Author: ![lllukom](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/lllukom/32/427100_2.png) [@lllukom](https://meta.discourse.org/u/lllukom)
#### Post date: [6월 25, 2024, 8:08오후 UTC](https://meta.discourse.org/t/error-when-building-discourse-does-not-support-compiling-scss-sass-files-via-sprockets/305402/15 "2024-06-25T20:08:50Z")

</div>

이 글이 도움이 되었습니다. [Discourse 개발 환경 설정 가이드 - Windows 11](https://meta.discourse.org/t/guide-to-setting-up-discourse-development-environment-windows-11/282227)

아래 명령어를 실행해야 하는 것 같습니다:

```bash
DISCOURSE_HOSTNAME=localhost UNICORN_LISTENER=localhost:3000 bin/ember-cli -u

```

실행하면 다음 항목들이 시작됩니다:

1. rails 서버
2. sidekiq
3. ember-cli

그리고 Discourse가 localhost:4200에서 사용 가능해집니다.

[DEVELOPMENT-OSX-NATIVE](https://github.com/discourse/discourse/blob/main/docs/DEVELOPMENT-OSX-NATIVE.md) 문서에도, DEVELOPER-ADVANCED.md 문서에도 이 내용이 언급되어 있지 않은 점이 아쉽습니다.
