totaljs / framework

Node.js framework
http://www.totaljs.com
Other
4.36k stars 450 forks source link

Package config not work #590

Closed ckpiggy closed 6 years ago

ckpiggy commented 6 years ago

I try to create my MongHelper package (https://github.com/ckpiggy/totaljs_mongo_helper).

I follow the guide to create package use

tpm creeate MongoHelper

and generate MongoHelper.package successfully.

My package need a url to connect to mongodb , so I throw an error if there is no url config. But after I update the config file, I still got the error.

package#MongoHelper (Object): {url: 'mongodb://test.url'}

Did I miss something?

petersirka commented 6 years ago

Fixed: totaljs_mongo_helper.zip