diff --git a/scripts/next-with-deps.sh b/scripts/next-with-deps.sh index 2e59f86be7..7071223439 100755 --- a/scripts/next-with-deps.sh +++ b/scripts/next-with-deps.sh @@ -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