Vaughan Rouesnel

Results 215 comments of Vaughan Rouesnel
trafficstars

Another vote here for a `cli` version. Currently I paste code into http://json2ts.com/, but would be nice to have it automated.

`__dirname` seems to be set incorrectly. There are some workarounds [here](https://github.com/webpack/webpack/issues/1599) but I couldn't get them to work reliably.

The default behavior is fine as it matches Node's promisify behaviour: https://nodejs.org/api/child_process.html#child_process_child_process_exec_command_options_callback > If this method is invoked as its util.promisify()ed version, it returns a Promise for an Object with...

`.catch(e => e)` was what I was needing. Thanks! > However, I should also attach these properties Would be good.

## Workaround Use a loader using the experimental ESM loader API. ``` cross-env NODE_OPTIONS='--experimental-loader my-loader' npm run dev ``` Can also use [`env-cmd`](https://github.com/toddbluhm/env-cmd) to avoid having to specify the env...

@Jarred-Sumner I noticed the `libLowLevelInterpreterLib.a` is commented out on macOS. This is where my missing symbols are: https://github.com/oven-sh/bun/blob/c1734c6ec5ef709ee4126b3474c7bee0a377a1fa/Makefile#L1286-L1290

Yep was an issue with the JSC submodule not updating. ``` $ git submodule update --init --recursive --progress --depth=1 Skipping submodule 'src/bun.js/WebKit' ``` https://stackoverflow.com/questions/63974493/why-would-git-submodule-update-skip-a-submodule ``` [submodule "src/javascript/jsc/WebKit"] active = true...