microsoft / pxt-arcade

Arcade game editor based on Microsoft MakeCode
https://arcade.makecode.com
MIT License
481 stars 209 forks source link

Static Build Error ( Error: ENOENT: no such file or directory, scandir 'public') #5751

Open techwithanirudh opened 1 year ago

techwithanirudh commented 1 year ago

Describe the bug When I run pxt staticpkg it errors out saying "INTERNAL ERROR: Error: ENOENT: no such file or directory, scandir 'public'"

liudonghua123 commented 1 year ago

I have the same problems, see the build details on https://github.com/liudonghua123/pxt-arcade-app/actions/runs/6551001770/job/17791350160#step:5:2393.

And a lot other errors appeared too.

Here is the full logs.txt.

liudonghua123 commented 1 year ago

I tried to fix this problem via mkdir public in the root of pxt-arcade. See also https://github.com/liudonghua123/pxt-arcade-app/commit/62af9e756881b929803e20fe55105cc84a4e9567.