Tom Freudenberg
Tom Freudenberg

Reputation: 1367

How to use meteors own non-core packages when running from a git checkout

When running meteor from a git checkout, there are 2 packages available at path

<meteor-path>/packages/non-core
    npm-bcrypt/
    npm-node-aes-gcm/

How to use/enable these packages (best practise) on own project?

Upvotes: 0

Views: 54

Answers (2)

Tom Freudenberg
Tom Freudenberg

Reputation: 1367

Much easier than symlink is just setting the PACKAGE_DIRS env var. Have a look at https://forums.meteor.com/t/missing-non-core-packages-when-running-meteor-from-checkout/1140 for more details.

Upvotes: 0

Dan Dascalescu
Dan Dascalescu

Reputation: 151747

You can use the published versions of your packages already, because they're on Atmosphere:

meteor add npm-bcrypt

If you want to use specifically their git checkout versions, you need to create a packages subdirectory in your app's directory, and symlink there the paths to the packages.

Upvotes: 1

Related Questions