-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
pnpm pack can't pack a module in another directory? #3290
Copy link
Copy link
Open
Labels
Description
pnpm version: 5.18.9
Code to reproduce the issue:
mkdir test-module
cd test-module
pnpm init
# press return until done
cd ..
pnpm pack test-moduleOutput:
ERROR No package.json (or package.yaml, or package.json5) was found in "/Users/karlvr".
Expected behavior:
Should pack the module in test-module and deposit the test-module-0.0.0.tgz in the current working directory like npm pack test-module does.
Actual behavior:
ERROR No package.json (or package.yaml, or package.json5) was found in "/Users/karlvr".
and no test-module-0.0.0.tgz created.
Additional information:
node -vprints: v14.15.5- Windows, macOS, or Linux?: macOS
Reactions are currently unavailable