browser
browser copied to clipboard
the example used in the readme does not work
The hello world example does not work. In fact, no website I've tried works. It's usually always panics.
./lightpanda-aarch64-macos --host 127.0.0.1 --port 9222
info(websocket): starting blocking worker to listen on 127.0.0.1:9222
info(server): accepting new conn...
info(server): client connected
info(browser): GET https://wikipedia.com/ 200
info(browser): fetch [https://wikipedia.com/portal/wikipedia.org/assets/js/index-2...](https://wikipedia.com/portal/wikipedia.org/assets/js/index-24c3e2ca18.js): http.Status.ok
info(browser): eval script portal/wikipedia.org/assets/js/index-24c3e2ca18.js: ReferenceError: location is not defined
info(browser): fetch [https://wikipedia.com/portal/wikipedia.org/assets/js/gt-ie9-...](https://wikipedia.com/portal/wikipedia.org/assets/js/gt-ie9-ce3fe8e88d.js): http.Status.ok
error(events): event handler error: error.JSExecCallback
info(events): event handler error try catch: TypeError: Cannot read properties of undefined (reading 'length')
info(server): close cmd, closing conn...
info(server): accepting new conn...
thread 5274880 panic: attempt to use null value
zsh: abort ./lightpanda-aarch64-macos --host 127.0.0.1 --port 9222