h2oai / nitro

Create apps 10x quicker, without Javascript/HTML/CSS.
https://nitro.h2o.ai
Apache License 2.0
201 stars 13 forks source link

make command fails #113

Open fazpu opened 1 year ago

fazpu commented 1 year ago

Describe the bug make command fails with:

mkdir -p build dist && \
                cp -R ../../web/build/ . && \
                cd build && \
                rm -f index.html image.png sample.jpg && \
                cp ../web/build/nitride.js . && \
                cp ../examples/* . && \
                mv static/css/main.*.css static/css/main.css && \
                mv static/js/main.*.js static/js/main.js && \
                zip -r ../dist/nitride_0.19.0.zip *
mv: rename static/css/main.*.css to static/css/main.css: No such file or directory
make[1]: *** [build] Error 1
make: *** [py] Error 2

Environment (please complete the following information):

Additional context Add any other context about the problem here.

lo5 commented 1 year ago

@fazpu Thanks for reporting this.

The linked PR was probably meant for #112?

For this issue (113), it looks like the macOS shell is unable to interpret the wildcard static/css/main.*.css in the command mv static/css/main.*.css static/css/main.css. That command is trying to rename, say, build/static/css/main.1a2b3c.css to build/static/css/main.css prior to packaging.

I don't have a mac handy. Can you please confirm?