how do i modify and use a project’s local package which i had referenced from METEOR_PACKAGES_DIR. I would like to customize it so that i can use it privately. The PACKAGE is not on atmosphere it is also a private package
I guess you have everything in place; but still require a meteor add mypackage
?
Meteor will see the package can be added from a local source, usually under myProject/packages
, or under the METEOR_PACKAGES_DIR
.
hi thanks for responding smeijer . I am getting this
error no such package
I assume you have read this?
It is really pretty simple put the package in a place where meteor can find it. Either put it in the packages
directory or use the environment variable METEOR_PACKAGE_DIRS
. Then make sure you execute meteor add mypackage
.
Maybe you are having trouble with METEOR_PACKAGE_DIRS
? It should point to a directory of packages, not the package itself. For example, if your package is in ~/foo/bar/mypackage
. Then METEOR_PACKAGE_DIRS
needs to be ~/foo/bar
Here is a pretty extensive tutorial.
Lots more info here.
thank u so much for your assistance smeijer and brucejo am now a hapi man