I'm trying to set up a new Angular project. My preference is to use the pnpm package manager for building Angular projects, and I'm on a macOS system.
I'm encountering an unexpected issue when using pnpm with the Angular CLI. My habit is to navigate to a specific folder in the terminal. When I then run the command pnpm ng new <myprojectname> from within that designated directory, the new project consistently gets created in my user's home directory instead of the current working directory. I've attempted this numerous times, but the outcome is always the same.
However, when I use npm and simply type ng new <myprojectname>, the project correctly scaffolds within the specified folder.