How do you manually add packages in meteor 1.3?

I see old threads talking about this, but all of them are outdated.

for example, I want to manually install kadira:flow-router
I have tried to download the repo from github and place it

in C:\Users[user]\AppData\Local\.meteor\packages
as:
./kadira_flow-router
./kadira-flow-router
./flow-router
to no avail,

When I run:

$ meteor add kadira:flow-router

it still tries to download it. I can’t install packages, it always freezes, any package, in both Windows and Linux, it’s maybe my internet connection.

I also tried placing the file contents in a subfolder, as per the format of rest of the packages there:


./flow-router/2.12.1/…

Also, to not avail.

Thanks.

meteor add “package-name” works

also in .meteor folder you can modify and add the package to the packages file

You need to place them in directory

./packages

in your application folder

like

myapp
  client
  packages
    flow-router
  server

during build process meteor will place it inside the .meteor/local

1 Like

The name for the folder does not be interesting

you could place the flowrouter package at

myapp
  packages
    what-ever-name-you-like

It checks the name inside package.js of the package. That has to match!

2 Likes

It worked Tom, thanks!.