Description
I have emojis in my paths, and it looks like Deno isn't fond of that?
$ bin/build
============================================================
Deno has panicked. This is a bug in Deno. Please report this
at https://github.com/denoland/deno/issues/new.
If you can reliably reproduce this panic, include the
reproduction steps and re-run with the RUST_BACKTRACE=1 env
var set and include the backtrace in your report.
Platform: macos aarch64
Version: 2.1.9
Args: ["deno", "run", "-A", "bin/build"]
thread 'main' panicked at std/src/env.rs:163:83:
called `Result::unwrap()` on an `Err` value: "$HOME/project/\xF0\x83\xBF\xA7\x83\x80 foo/\xF0\x83\xBF\x83\xB3\x83\xA8 bar/baz/bin/build"
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
The bin/build script:
#!/usr/bin/env -S deno run -A
import * as esbuild from "npm:[email protected]";
import { denoPlugins } from "jsr:@duesabati/esbuild-deno-plugin@^0.0.1";
const result = await esbuild.build({
plugins: [...denoPlugins()],
entryPoints: ["https://deno.land/[email protected]/bytes/mod.ts"],
outfile: "./dist/bytes.esm.js",
bundle: true,
format: "esm",
});
console.log(result.outputFiles);
esbuild.stop();