Visitar URL original
ns clean doesnt respect package manager · Issue #5800 · NativeScript/nativescript-cli · GitHub
Skip to content

ns clean doesnt respect package manager #5800

Description

@offizium-berndstorath

Issue Description

If I set pnpm as the ns package manager and run ns clean it tries to remove package-lock.json which obviously doesnt exist

Reproduction

  1. Use any ns project
  2. set pnpm as package manager
  3. run ns clean

Relevant log output (if applicable)

No response

Environment

echo 'y' | npx nativescript-envinfo Doesnt show pnpm version. So this makes no sense

Please accept these terms

Activity

  1. rigor789 commented on Apr 18, 2024

    @rigor789
    Member

    We will remove package-lock.json from ns clean by default in a future release. Users will still be able to configure additionalPathsToClean and add it back, or a different package-manager's lockfile.

    Right now this is known/expected behavior, and the file is skipped if not found.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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