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

Node logs aren't catch properly #216

Open
Ben8t opened this issue Feb 13, 2025 · 0 comments
Open

Node logs aren't catch properly #216

Ben8t opened this issue Feb 13, 2025 · 0 comments
Assignees
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working

Comments

@Ben8t
Copy link
Member

Ben8t commented Feb 13, 2025

Describe the issue

id: node-custom-package
namespace: sanitychecks.flows.blueprints
tasks:
  - id: script
    type: io.kestra.plugin.scripts.node.Script
    inputFiles:
      package.json: |
        {
          "name": "your_project_name",
          "version": "1.0.0",
          "type": "module",
          "dependencies": {
            "colors": "^1.4.0"
          }
        }
    beforeCommands:
      - npm install
    script: |
      import colors from 'colors';
      console.log(colors.red("Hello"));

image

You can see that exit 0 but some errors are caught, should warning I think in this case.

Environment

  • Kestra Version: develop
@Ben8t Ben8t added bug Something isn't working area/plugin Plugin-related issue or feature request labels Feb 13, 2025
@Ben8t Ben8t added this to Issues Feb 13, 2025
@github-project-automation github-project-automation bot moved this to Backlog in Issues Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/plugin Plugin-related issue or feature request bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

2 participants