Aman Karmani
Aman Karmani
Probably due to pointer compare here? https://github.com/microsoft/typescript-go/blob/74c01ca0f30c0117e927760871ffc0fef23cff5f/internal/execute/watcher.go#L52 I tried to compare structs instead, but errors: ``` internal/execute/watcher.go:53:6: invalid operation: *w.options.CompilerOptions() != *configParseResult.CompilerOptions() (struct containing []string cannot be compared) ```
> You could try `reflect.DeepEqual`, maybe. I haven't looked at this code to know if this is supposed to be a deep comparison. That works, thanks! https://github.com/microsoft/typescript-go/pull/781
>`react/jsx-runtime` Does this file exist somewhere, under node_modules perhaps? Curious if its a .js or .d.ts or what
The proper fix is outlined in #765, but this may work as a hacky workaround: ```diff diff --git i/internal/compiler/program.go w/internal/compiler/program.go index afa7ae60b..75a0d9086 100644 --- i/internal/compiler/program.go +++ w/internal/compiler/program.go @@ -3,6 +3,7...
```diff diff --git a/interpreter/nodev8/v8.go b/interpreter/nodev8/v8.go index 01c09ab..be8a698 100644 --- a/interpreter/nodev8/v8.go +++ b/interpreter/nodev8/v8.go @@ -223,7 +223,7 @@ const ( var ( // regex for the interpreter executable - v8Regex = regexp.MustCompile(`^(?:.*/)?node(\d+)?$`)...
Was struggling to edit my babel config to skip the solid-refresh plugin for this one file. But then I realized I can just add a `// @refresh skip` to the...
Okay, here you go: https://github.com/tmm1/node-gyp-win32-test/actions/runs/15813828506/job/44569072771 It shows first where node-gyp is preinstalled: >/c/hostedtoolcache/windows/node/20.19.0/x64/node_modules/npm/node_modules/node-gyp/package.json: "version": "10.1.0", Then it tries to install into that `$NODE/node_modules/npm` which fails with the message I posted...
The solution is: ``` $nodePath = Split-Path -Parent (Get-Command node).Path npm install --global --prefix $nodePath\\node_modules\\npm node-gyp@latest ```
I'm not able to invest in docs here. For posterity, I found that the documented solution for linux was quite slow and ended up using this instead: ``` # npm...
same here: https://github.com/tmm1/turbotest ``` ❯ yarn && turbo watch dev yarn install v1.22.22 warning package.json: "test" is also the name of a node core module warning package.json: No license field...