Skip to content

carbon-now-cli failed to creaet screenshot in ubuntu 24.04 some punny module deprecated code:16160[DEP0040] warning  #1564

@xkeshav

Description

@xkeshav

Describe the bug
carbon-now-cli generation failed with tree outout

To Reproduce
Steps to reproduce the behavior:

  1. Install crabon-now-cli using npm --global carbon-now-cli
  2. navigate to a folder and eant to take a screenshot of tree command output
tree -I 'node_modules' ./src/content/ --charset utf8 -C | carbon-now -l tree.json
  1. this command response this

(node:16160) [DEP0040] DeprecationWarning: The punycode module is deprecated. Please use a userland alternative instead.
(Use node --trace-deprecation ... to show where the warning was created)

Warning: Preset latest-preset doesn’t exist. Using default settings…

and then it finisehd and fail to generate image with below output

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Info (please complete the following information):

  • OS: Ubuntu 24.04
  • Node v 22.0.0 ( npm 10.5.1)
  • carbon-now-cli@2.1.0
  • run on warp terminal v0.2024.12.18.08.02.stable_05

screenshot

Screenshot from 2025-01-03 23-54-11

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions