NativeScript/nativescript-cli

ns clean doesnt respect package manager

offizium-berndstorath opened this issue · 1 comments

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

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.