andrewminer / crafting-guide

The ultimate step-by-step guide to make anything in Minecraft
http://crafting-guide.com
66 stars 192 forks source link

Can't set up the local server correctly (wiki/Adding Support for a New Mod) #165

Closed whizzball1 closed 8 years ago

whizzball1 commented 8 years ago

I can't quite find anywhere to put this, and I've gotten to the point where I can no longer proceed without setting up the local server, so I suppose I'll have to put my help request here--when running the commands you posted, I got up to "grunt clean build" before I got this error:

Running "rsync:static" (rsync) task rsyncing ./static/ >>> ./dist/ Shell command was: rsync ./static/ ./dist/ --chmod=ugo=rwX --recursive ERROR Error: rsync exited with code 1 Warning: Task "rsync:static" failed.

I believe that I have installed rsync correctly, having updated the cmd file in the directory. I even put the folder into the crafting-guide repository, just to make sure. However, no matter what, I get that error. What do I do?

(Also, as an aside, I can't figure out how to "run the ./scripts/convert-nei-dump <path to .../dumps> command", so help for that would be appreciated after this as well.)

andrewminer commented 8 years ago

What operating system are you running, Windows or something with a UNIX-like command line?

whizzball1 commented 8 years ago

I am using Windows. I have already thoroughly scoured Google concerning the error and haven't really gotten anywhere--except that code 1 means invalid syntax.

whizzball1 commented 8 years ago

The issue is now resolved. I used a Linux installation I have elsewhere to run the script that I needed--I can't really test my recipes, since almost every single one of them is in a format which doesn't work on the website yet.

dragagon commented 8 years ago

On my machine i manually run all the steps AFTER rsync in the main build script because windows did not want to play nice. I run rsync myself and it works, I run the build script and it hangs on that step. =\

andrewminer commented 8 years ago

@dragagon — Is that the case even when running under Cygwin or something similar? All of these scripts were written in bash, and therefore should work on pretty much any UNIX shell. It may be the case that the rsync you have installed is a Windows version rather than a version specific to your UNIX shell and is expecting \ as a path delimiter rather than /.

dragagon commented 8 years ago

It's quite possible, it is the windows executable run in the git bash shell. On Mar 15, 2016 7:06 PM, "Andrew Miner" notifications@github.com wrote:

@dragagon https://github.com/dragagon — Is that the case even when running under Cygwin or something similar? All of these scripts were written in bash, and therefore should work on pretty much any UNIX shell. It may be the case that the rsync you have installed is a Windows version rather than a version specific to your UNIX shell and is expecting \ as a path delimiter rather than /.

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/andrewminer/crafting-guide/issues/165#issuecomment-197113056