I generated a sample app just to test the build process and it errors out during the build process.
$ ./js steal/buildjs apps/hello/hello.html -to apps/helloprod
Building to apps/helloprod/
BUILDING STYLES ---------------
apps/hello/hello.css
STYLE BUNDLE > apps/helloprod/production.css
Nice! Compressed: 17.1% Before: 41.0 bytes After: 34.0 bytes
!!!!!!!!!!! ERROR !!!!!!!!!!!
-message = java.io.FileNotFoundException: apps/helloprod/production.css (No such file or directory)
-fileName = steal/rhino/file.js
-lineNumber = 217
-name = JavaException
-javaException = java.io.FileNotFoundException: apps/helloprod/production.css (No such file or directory)
error loading html element [object HTMLScriptElement] JavaException: java.io.FileNotFoundException: apps/helloprod/production.css (No such file or directory)
There was some content in .css file by default when I generated an app, so I even tried to remove the content inside (in which case it would error out because it cannot calculate the size of the file, eg. it was saying NaN undefined
instead of 41.0 bytes). This particular error came up when I just had this in hello.css
:
body{
background-color:lightyellow;
}
Any ideas?