meteor / postgres-packages

Early preview of PostgreSQL support for Meteor (deprecated, here for historical reasons)
http://meteor-postgres.readthedocs.org/
158 stars 25 forks source link

unknown package in top-level dependencies: simple:pg #28

Closed iuraya closed 8 years ago

iuraya commented 8 years ago

Hi,

I'm trying to build the targz of the react-todos to run it in a development server but while building the project I get the following error:

MacBook-Pro-de-Enrique:react-todos Kike$ meteor build ~/build-output-directory --server=***** => Errors while initializing project:

While selecting package versions: error: unknown package in top-level dependencies: simple:pg

It's also the same error I get if I try to update the project.

Thanks

stubailo commented 8 years ago

You need all of the environment variables here: https://github.com/meteor/postgres-packages/blob/master/examples/react-todos/run-app.sh

In particular, PACKAGE_DIRS is the one that tells Meteor where to find this package, since it's not published on Atmosphere.