أعمل على نظام ويندوز 10. كيف يمكنني تثبيت discourse على localhost؟
أعتقد أنني بحاجة لاستخدام 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.
أنا في الصين ولا يمكنني زيارة cloud.digitalocean.com. هل هناك خادم آخر؟
هل تريد موقع ويب جاهزًا للاستخدام من قبل الآخرين، أم شيئًا محليًا على جهازك لتجربة واختبار وتطوير الأكواد؟
أريد فقط تجربته على localhost (مثل: http://localhost:3000).
فهمت. اتبع الدليل هنا: Install Discourse on Windows for development
bundle install سيقوم بتنزيل حزم متعددة من خوادم خارج الجدار الناري العظيم. سيستغرق ذلك وقتًا طويلاً. في المرة الأخيرة التي جربتها من الداخل، استغرق الأمر ساعتين على الأقل.
يجب عليك الضغط على [ENTER] عند الانتهاء من الاختبار.
شكرًا لإجابتك!


