Skip to content

Commit

Permalink
use pnpm for next-with-deps (#54847)
Browse files Browse the repository at this point in the history
This fixes the "Usage Error: This project is configured to use pnpm" error when running `next-with-deps` since we [enforce a package manager](https://github.com/vercel/next.js/blob/canary/package.json#L252)
  • Loading branch information
ztanner committed Aug 31, 2023
1 parent 826ef8c commit f0fa7c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/next-with-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ done

if [ ! -z $HAS_CONFLICTING_DEP ] || [ ! -d "$PROJECT_DIR/node_modules" ];then
cd $PROJECT_DIR
yarn install
pnpm i --ignore-workspace
for dep in ${CONFLICTING_DEPS[@]};do
rm -rf node_modules/$dep
done
Expand Down

0 comments on commit f0fa7c5

Please sign in to comment.