Sto lavorando su Windows 10. Come posso installare Discourse su localhost?
Credo di dover usare yarn, ma ci sono molti errori…
D:\discourse>yarn
yarn install v1.22.0
$ node -e "if(process.env.npm_execpath.indexOf('yarn') === -1) throw new Error('NPM non è supportato, si prega di usare Yarn invece. ')"
[1/4] Risoluzione dei pacchetti...
[2/4] Recupero dei pacchetti...
[error] Impossibile trovare una corrispondenza per "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" per "https://github.com/highlightjs/highlight.js".
[info] Visita https://yarnpkg.com/en/docs/cli/install per la documentazione su questo comando.
Sono in Cina e non riesco a visitare cloud.digitalocean.com. C’è un altro server disponibile?
Vuoi un sito web di produzione per altri utenti o qualcosa di locale sulla tua macchina per testare e sviluppare codice?
Voglio solo provarlo su localhost (ad esempio: http://localhost:3000).
Ho capito. Segui questa guida qui: Install Discourse on Windows for development
bundle install scaricherà diversi pacchetti da server esterni al GFW. Ciò richiederà molto tempo. L’ultima volta che l’ho provato dall’interno ci sono volute almeno due ore.
Dovresti premere [ENTER] quando hai finito di testare.
Grazie per la tua risposta!


