-
Notifications
You must be signed in to change notification settings - Fork 181
Description
im install package by "pnpm" and anh get a file node_module/bin/migrate-mongo very difference with "npm"
`#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\,/,g')")
case uname
in
CYGWIN) basedir=cygpath -w "$basedir"
;;
esac
if [ -z "$NODE_PATH" ]; then
export NODE_PATH="/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/migrate-mongo@11.0.0_mongodb@5.9.2_@aws-sdk+credential-providers@3.716.0_@aws-sdk+client-sso-ts7jr3pz22x5mmjsfhufi3u3ri/node_modules/migrate-mongo/bin/node_modules:/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/migrate-mongo@11.0.0_mongodb@5.9.2@AWS-SDK+credential-providers@3.716.0_@aws-sdk+client-sso-ts7jr3pz22x5mmjsfhufi3u3ri/node_modules/migrate-mongo/node_modules:/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/migrate-mongo@11.0.0_mongodb@5.9.2@AWS-SDK+credential-providers@3.716.0_@aws-sdk+client-sso-ts7jr3pz22x5mmjsfhufi3u3ri/node_modules:/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/node_modules"
else
export NODE_PATH="/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/migrate-mongo@11.0.0_mongodb@5.9.2@AWS-SDK+credential-providers@3.716.0_@aws-sdk+client-sso-ts7jr3pz22x5mmjsfhufi3u3ri/node_modules/migrate-mongo/bin/node_modules:/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/migrate-mongo@11.0.0_mongodb@5.9.2@AWS-SDK+credential-providers@3.716.0_@aws-sdk+client-sso-ts7jr3pz22x5mmjsfhufi3u3ri/node_modules/migrate-mongo/node_modules:/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/migrate-mongo@11.0.0_mongodb@5.9.2@AWS-SDK+credential-providers@3.716.0_@aws-sdk+client-sso-_ts7jr3pz22x5mmjsfhufi3u3ri/node_modules:/Users/dat/Documents/med-hub-BE/node_modules/.pnpm/node_modules:$NODE_PATH"
fi
if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/../migrate-mongo/bin/migrate-mongo.js" "$@"
else
exec node "$basedir/../migrate-mongo/bin/migrate-mongo.js" "$@"
fi
`
??