저는 Windows 10을 사용하고 있습니다. 로컬호스트에 Discourse를 설치하는 방법을 알려주실 수 있나요?
yarn을 사용해야 할 것 같은데, 에러가 너무 많네요…
D:\discourse>yarn
yarn install v1.22.0
$ node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('NPM is not supported, please use Yarn instead. ')"
[1/4] Resolving packages...
[2/4] Fetching packages...
[error] Couldn't find match for "1b10552510a1ec13a3d30d46281dc268553ad157" in "refs/heads/9-17-stable,refs/heads/9-18-stable,refs/heads/cli,refs/heads/css_consistency,refs/heads/egor-rogov-tsql,refs/heads/javascript/add-jsdoc,refs/heads/jsdom,refs/heads/master,refs/heads/v10-temp,refs/heads/yyyc514-patch-1,refs/tags/10.0.0-beta.0,refs/tags/5.10,refs/tags/5.11,refs/tags/5.12,refs/tags/5.13,refs/tags/5.14,refs/tags/5.3,refs/tags/5.4,refs/tags/5.5,refs/tags/5.6,refs/tags/5.7,refs/tags/5.8,refs/tags/5.9,refs/tags/6.0,refs/tags/6.0.1,refs/tags/6.0beta,refs/tags/6.1,refs/tags/6.2,refs/tags/7.0,refs/tags/7.0.1,refs/tags/7.1,refs/tags/7.2,refs/tags/7.3,refs/tags/7.4,refs/tags/7.5,refs/tags/8.0,refs/tags/8.0beta,refs/tags/8.1,refs/tags/8.2,refs/tags/8.3,refs/tags/8.4,refs/tags/8.5,refs/tags/8.6,refs/tags/8.7,refs/tags/8.8.0,refs/tags/8.9.0,refs/tags/8.9.1,refs/tags/9.0.0,refs/tags/9.1.0,refs/tags/9.10.0,refs/tags/9.11.0,refs/tags/9.12.0,refs/tags/9.13.0,refs/tags/9.13.1,refs/tags/9.14.0,refs/tags/9.14.1,refs/tags/9.14.2,refs/tags/9.15.0,refs/tags/9.15.1,refs/tags/9.15.10,refs/tags/9.15.2,refs/tags/9.15.3,refs/tags/9.15.4,refs/tags/9.15.5,refs/tags/9.15.6,refs/tags/9.15.7,refs/tags/9.15.8,refs/tags/9.15.9,refs/tags/9.16.0,refs/tags/9.16.1,refs/tags/9.16.2,refs/tags/9.17.0,refs/tags/9.17.1,refs/tags/9.18.0,refs/tags/9.18.1,refs/tags/9.2.0,refs/tags/9.3.0,refs/tags/9.4.0,refs/tags/9.5.0,refs/tags/9.6.0,refs/tags/9.7.0,refs/tags/9.8.0,refs/tags/9.9.0" for "https://github.com/highlightjs/highlight.js".
[info] Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
다른 사람들이 사용할 수 있는 프로덕션 웹사이트를 원하시나요, 아니면 로컬에서 코드를 테스트하고 개발하기 위한 환경을 원하시나요?
저는 로컬호스트(예: http://localhost:3000)에서만 시도해 보고 싶습니다.
알겠습니다. 다음 가이드를 따라 주세요: Install Discourse on Windows for development
bundle install은 GFW 밖의 서버에서 여러 패키지를 다운로드합니다. 시간이 오래 걸립니다. 이전에 GFW 안에서 시도했을 때 최소 2시간 이상 걸렸습니다.
테스트가 끝나면 [ENTER] 키를 누르세요.
답변 감사합니다!


