-
Notifications
You must be signed in to change notification settings - Fork 575
Description
Describe the bug
RollupError: node_modules/ansi-color/lib/ansi-color.js (35:16): Legacy octal escape is not permitted in strict mode
33: var ansi_str = "";
34: for(var i=0, attr; attr = color_attrs[i]; i++) {
35: ansi_str += "\033[" + ANSI_CODES[attr] + "m";
^
36: }
37: ansi_str += str + "\033[" + ANSI_CODES["off"] + "m";
ERROR node_modules/ansi-color/lib/ansi-color.js (35:16): Legacy octal escape is not permitted in strict mode 13:58:49
To Reproduce
Steps to reproduce the behavior:
- Install @genkit-ai/core or any package such as @genkit-ai/googleai which use @genkit-ai/core underlying in a nuxt application
- Try to build the project
- See error
Expected behavior
The build should succeed.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Minimal reproduction: https://codesandbox.io/p/devbox/focused-mendel-568fwh?workspaceId=ws_W3Dk5bxF2Lw4qXT6z5Y4h1
Run pnpm run build
Metadata
Metadata
Assignees
Labels
Type
Projects
Status