One of my co-workers is trying to run a build.js script on his machine and he gets the following error :
C:\Users\Alex G\workspace\lldrd\jsmvc>js app\home\scripts\build.js Building to app/home/ failed to open file file:/C:/Users/Alex G/workspace/lldrd/jsmvc/app/home/scrip ts/build.html JavaException: java.net.URISyntaxException: Illegal character in path at index 21: file:///C:/Users/Alex G/workspace/lldrd/jsmvc/app/home/scrip ts/build.html
BUILDING SCRIPTS --------------- steal.compress - Using Google Closure app
BUILDING STYLES ---------------
I guess this is because he has a space in his username? (Alex G)
Any workaround for this?
Thanks for the help!
He also gets an error when putting the JMVC folder in his public dir :
C:\Users\Public\lldrd\cms\jsmvc>js app\documents\scripts\build.js Building to app/documents/ Error loading script. ReferenceError: "app" is not defined.
1) No, not that I know of. You should put your apps in a space-less directory. Env doesn't like spaces in the path.
2) In your edit, when he puts his app in the public dir, why is build failing there? Can he do the getting started guide from there? Before running that build script, can he open app\documents\documents.html in a browser, and make sure there are no errors?