Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: Unsupported AST node: List #2

Open
yajo opened this issue Jul 16, 2024 · 0 comments
Open

error: Unsupported AST node: List #2

yajo opened this issue Jul 16, 2024 · 0 comments

Comments

@yajo
Copy link

yajo commented Jul 16, 2024

I was testing it today. I ran it in the folder of another flake. It died:

$ nix run github:snowfallorg/thaw/v1.0.7
trace: warning: getExe: Package "bun-1.0.13" does not have the meta.mainProgram attribute. We'll assume that the main program has the same name for now, but this behavior is deprecated, because it leads to surprising errors when the assumption does not hold. If the package has a main program, please set `meta.mainProgram` in its definition to make this warning go away. Otherwise, if the package does not have a main program, or if you don't control its definition, use getExe' to specify the name to the program, such as lib.getExe' foo "bar".
 ERROR  Thaw An unexpected error occurred.
12 |     return node;
13 |   }
14 | 
15 |   switch (node.kind) {
16 |     default:
17 |       throw new Error(`Unsupported AST node: ${node.kind}`);
                ^
error: Unsupported AST node: List
      at toStaticValue (/nix/store/d7zrr1q48qk17j8q3d0svigclidmncri-src/util/nix.ts:17:12)
      at toStaticValue (/nix/store/d7zrr1q48qk17j8q3d0svigclidmncri-src/util/nix.ts:52:29)
      at toStaticValue (/nix/store/d7zrr1q48qk17j8q3d0svigclidmncri-src/util/nix.ts:52:29)
      at /nix/store/d7zrr1q48qk17j8q3d0svigclidmncri-src/util/nix.ts:85:16
      at processTicksAndRejections (:61:76)
@yajo yajo changed the title Package "bun-1.0.13" does not have the meta.mainProgram attribute error: Unsupported AST node: List Aug 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant