Skip to content

install package by pnpm  #455

@NguyenVanDat98

Description

@NguyenVanDat98

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
`
??

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions