SirBT
SirBT

Reputation: 1698

How do I find out what packages I had installed in my previouse meteor app?

I recently upgraded to the latest version of meteor. The currently installed meteor version is Meteor 1.4.1.

In trying to continue developing my app (from the previous version) in the upgraded meteor environment, I figured I would create a new app (meteor create newApp) then copy (the code from the original app) and paste (the code into the newly created files) then run it.

I quickly released that I have to re-install the packages that my original app was depending on or else I get error messages.

The issue here is I don't remember the packages my original app is dependent on. I still have the original app folder, which I created in the previous meteor version. Is there a way to extract the list of packages from the original app? Alternatively is there a way I can merely continue developing and running the original app without having to create a new app and copy and pasting the code? If so how do I do this?

Any help is greatly appreciated

Upvotes: 0

Views: 81

Answers (1)

Ankit
Ankit

Reputation: 1128

In the app root go to ./meteor directory. In that folder open packages files. All your installed packages names will be there.

Alternatively, you can use meteor list command in the app directory.

Answer to the second part, yes you can continue developing the same app. The packages will be upgraded accordingly. You may face some issues with bcrypt if you are using accounts-passwords package but there are workaround to get over that.

Upvotes: 1

Related Questions