안녕하세요, 제 사이트를 2.4.5 버전과 assign 플러그인의 최신 안정 버전으로 업데이트했는데, assign 플러그인을 비활성화하지 않으면 사이트가 빈 페이지로 표시됩니다. 진단에 도움이 될 만한 정보를 제공해야 한다면 알려주세요.
app.yml 파일에서 플러그인의 stable 브랜치를 클론하나요?
app.yml에서 플러그인의 stable 브랜치를 클론하나요?
네, 이렇게 합니다.
hooks:
after_code:
- exec:
cd: $home/plugins
cmd:
- git clone https://github.com/discourse/docker_manager.git
- git clone https://github.com/discourse/discourse-spoiler-alert.git
- git clone https://github.com/discourse/discourse-styleguide.git
- git clone --branch stable https://github.com/discourse/discourse-solved.git
- git clone https://github.com/discourse/discourse-user-notes.git
- git clone https://github.com/discourse/discourse-checklist.git
- git clone --branch stable https://github.com/discourse/discourse-assign.git
다음과 같이 사용하는 것은 어떻게 될까요?
git clone --single-branch --branch stable
다음을 사용해도 같은 문제가 발생한다면 어떻게 될까요:
git clone --single-branch --branch stable
이 경우에도 동일한 문제가 발생합니다. --single-branch를 추가하는 것이 왜 차이를 만드는 것일까요?
참고로, 사이트 렌더링을 깨뜨리는 JS 에러는 다음과 같습니다.
TypeError: t.addKeyboardShortcut is not a function _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:732:8
initialize _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:732
withPluginApi _application-ed0ac692ab93afd4124933b80c2b9e44bca02a77b73366b3e67eef88e883e0db.js:21205
initialize _discourse-assign-247a26621189a1714b70bd1b1b82b3a6fecb3b42abd693e59778ada8c009780f.js:743
initialize _application-ed0ac692ab93afd4124933b80c2b9e44bca02a77b73366b3e67eef88e883e0db.js:7258
jQuery 21