Skip to content
This repository has been archived by the owner on Aug 31, 2020. It is now read-only.

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

Closed
whizzball1 opened this issue Mar 11, 2016 · 6 comments
Closed
Labels

Comments

@whizzball1
Copy link
Contributor

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
Copy link
Owner

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

@whizzball1
Copy link
Contributor Author

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
Copy link
Contributor Author

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
Copy link

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
Copy link
Owner

@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
Copy link

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
#165 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

3 participants