neonaleon / meteor-gss

Meteor integration for GSS, http://gridstylesheets.org/
1 stars 0 forks source link

Breaks Meteor when built and run via node #2

Open Rhywden opened 9 years ago

Rhywden commented 9 years ago

This package may run fine when you include it in your project in development but it breaks everything when you deploy it and try to run it via a node instance so you can actually use it as a webserver

Steps to reproduce: 1) Create a bare bones test site 2) Add the gss package 3) Build the test site through meteor build $dir$ 4) Move the tar file, untar it, change into /programs/server and run npm install 5) Change back up to the directory with main.js in it and run env PORT=3000 MONGO_URL=mongodb://localhost:27017:test ROOT_URL=http://www.testsite.com node main.js 6) Browse to the root_url, find a blank page and this error in the console: Unable to get property 'length' of undefined or null reference