Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to create a private package for just single meteor app?

Meteor 0.6.5.1 from 0.6.4 (my custom private package is ignored and won't load properly)

  • How do I get it to load, I've been searching all over and this is becoming frustrating.

I can't seem to get my package that I used to have inside my packages/ folder and added in smart.json:

{
  packages: {
    "my_package": {
       "path": "packages/my_package"
     }
  }
}

I've also tried using an absolute path as well as moving the my_package outside of the meteor directory all together

Since 0.6.5 upgrade it now says:

smart.json changed.. installing from smart.json
  Package my_package has been ignored because it has been manually installed in /packages

I've also tried:

$ mrt add my_package
my_package: no such package

Resulting in: "no such package" error, even though it's in the packages/folder

What am I missing!! :)?

like image 846
PleaseHelpMeFigureThisOut Avatar asked Jan 13 '23 07:01

PleaseHelpMeFigureThisOut


1 Answers

You don't need a smart.json file if it is a private package for just this app. You do need a package.js though. After that, just add the package name to .meteor/packages.

like image 77
Ryan Yeske Avatar answered Jan 31 '23 00:01

Ryan Yeske