I have this module:
exports.yeah = {
hallo: {
shine: "was",
yum: this.hallo.shine
}
}
As you can see I try to reference shine in yum: this.hallo.shine
But when I do try to execute my script I get this error:
TypeError: Cannot read property 'shine' of undefined
It seems like that the scope is wrong!
I tried different things for example module.exports.yeah.hallo.shine
But it simply won't work! How can I fix this error? Thanks