marklogic-community / slush-marklogic-node

Slush generator for a MarkLogic/node project
https://github.com/marklogic-community/slush-marklogic-node/wiki
Other
40 stars 28 forks source link

Slush generator hanging #547

Open iowusu opened 6 years ago

iowusu commented 6 years ago

Slush generator is hanging for windows machine . Please see below. I runned the come . I have all the prequite install I beelive.

ikeky@ikowusu-laptop MINGW64 /c/workspace/ramp-project $ slush marklogic-node [slush] Using slushfile C:\Users\ikeky\AppData\Roaming\npm\node_modules\slush-mark logic-node\slushfile.js [12:27:51] Starting 'marklogic-node:checkForUpdates'... checking for latest version [12:27:51] Finished 'marklogic-node:checkForUpdates' after 393 ms [12:27:51] Starting 'marklogic-node:init'... ? Name for the app? (ramp-project) testSlush ? Name for the app? testSlush ? MarkLogic version? (Use arrow keys) ? MarkLogic version? 9 ? MarkLogic Host? (localhost) localhost ? MarkLogic Host? localhost ? MarkLogic Admin User? (admin) admin ? MarkLogic Admin User? admin ? Note: consider keeping the following blank, you will be asked to enter it at ? Note: consider keeping the following blank, you will be asked to enter it at appropriate commands. ? MarkLogic Admin Password? admin ? MarkLogic App/Rest port? (8070) 8070 ? MarkLogic App/Rest port? 8070 ? Node app port? (9070) 9070 ? Node app port? 9070 ? Select Template (Use arrow keys) ? Select Template default ? Allow anonymous users to search data? (Use arrow key)

... Creating new Application: testslush...

grtjn commented 6 years ago

That is the point where it should start doing a git clone, executed by the Roxy ml script. Could it be that Github was temporarily down or responding very slowly? It seems to have issues lately..

lifan0127 commented 6 years ago

If you are behind a corporate firewall, you may need to config git to replace git:// with https://. The Roxy ml script use git clone git:// which doesn't work in our network setting.

git config --global url."https://github.com/".insteadOf git@github.com:
git config --global url."https://".insteadOf git://

See: https://github.com/OfficeDev/office-ui-fabric-js/issues/112#issuecomment-269389010

grtjn commented 6 years ago

Yeah. Roxy is not using https, I'll see if I can fix that..