Made no changes with my system, but now every time I try to serve locally I get this error: 2022/05/21 21:13:18 error loading applet: failed to load applet: starlark.ExecFile: APP_NAME.webp:1:5: unexpected input character ‘�’
Works fine serving webp files to device, just not localhost. Same issue across multiple systems. This is for applets that I have had and wrote for quite a while. On a mac.
More context for @rohan
I made the simplest of star files just outputs “Hello” and here is what I get. I am on macOS 12.4 and Pixlet v0.17.6 and latest version of Chrome. Could be something broken in Pixlet?
2022/05/22 14:34:03 listening at http://127.0.0.1:8080
2022/05/22 14:34:03 error loading applet: failed to load applet: starlark.ExecFile: test.webp:1:1: undefined: RIFFB
load("render.star", "render")
def main():
return render.Root(
child = render.Text("Hello")
)
Nevermind, at some point started trying to serve the .webp instead of the .star. For future reference if anyone ends up having the same brain fart I did.