Problem description: If you update wrangler in the cloudflare workers template to the latest version, ^3.15.0, the console throws an error as follows:
workerd/util/symbolizer.c++:98: warning: Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, use `--test_env=LLVM_SYMBOLIZER=<path>`.
workerd/server/server.c++:2885: error: Uncaught exception: kj/compat/url.c++:165: failed: expected tryParse(url, context, options) != nullptr; invalid URL; url = *
stack:
Expected behavior: Should just work with latest version on wrangler.
Make sure you have llvm-symbolizer installed. If itās already installed, locate the llvm-symbolizer binary. Typically, you can find it by searching in the terminal with commands like which llvm-symbolizer or find / -name llvm-symbolizer. Once you have the path, set the $LLVM_SYMBOLIZER environment variable accordingly. For instance, in a bash shell, you would use the following command:
Hello! Iām unable to reproduce the issue in a brand new Cloudflare Workers Repl. Can you share the Repl URL with me so I can diagnose the issue a little more closely? Thanks!
Sorry, no, it is private. But I can assure you the error is there on the latest wrangler version, āwranglerā: ā^3.15.0ā. Iām not sure why you canāt recreate it. I recreated it a few times today. Just use the Replit Cloudflare Workers template and then upgrade Wrangler and when you run the Replit you will see an error Not symbolizing stack traces because $LLVM_SYMBOLIZER is not set. To symbolize stack traces, set $LLVM_SYMBOLIZER to the location of the llvm-symbolizer binary. When running tests under bazel, Anyway, i guess it doesnāt matter, as all the other wrangler functionality works fine and we can deploy to cloudflare without any problems.