Skip to content

Deprecation Warning: assert keyword in import statements for JSON #6

@rinshadka

Description

@rinshadka

We are encountering a deprecation warning for 'chezmoi apply' step during the installation.

Steps to Reproduce: ~/.local/bin/chezmoi apply

Expected Behavior: The chezmoi apply command should execute without any deprecation warnings or errors

Actual Behavior:

error: Import assertions are deprecated. Use `with` keyword, instead of 'assert' keyword.

import data from "./_data.json" assert { type: "json" };

  at https://deno.land/std@0.196.0/console/unicode_width.ts:4:1

chezmoi: once_dot_strategy-coach.sh: exit status 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions