Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

install package by pnpm #455

Open
NguyenVanDat98 opened this issue Dec 21, 2024 · 0 comments
Open

install package by pnpm #455

NguyenVanDat98 opened this issue Dec 21, 2024 · 0 comments

Comments

@NguyenVanDat98
Copy link

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/[email protected]_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/[email protected][email protected]@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/[email protected][email protected]@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/[email protected][email protected]
@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/[email protected][email protected]@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/[email protected][email protected]@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
`
??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant