Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploying on heroku: Error uploading initial app code #318

Closed
jhurray opened this issue Jul 9, 2014 · 1 comment
Closed

Deploying on heroku: Error uploading initial app code #318

jhurray opened this issue Jul 9, 2014 · 1 comment

Comments

@jhurray
Copy link

jhurray commented Jul 9, 2014

It seems like the config variable in the file that generated the error is screwy. The error looks like it occurs here :

this.filters = this.config.get('filters');

Uploading your initial application code.
 This may take several minutes depending on your connection speed...

/usr/local/lib/node_modules/generator-angular-fullstack/heroku/index.js:143
      if(this.filters.mongoose) {
                     ^
TypeError: Cannot read property 'mongoose' of undefined
    at Generator.<anonymous> (/usr/local/lib/node_modules/generator-angular-fullstack/heroku/index.js:143:22)
    at ChildProcess.exithandler (child_process.js:635:7)
    at ChildProcess.EventEmitter.emit (events.js:98:17)
    at maybeClose (child_process.js:743:16)
    at Socket.<anonymous> (child_process.js:956:11)
    at Socket.EventEmitter.emit (events.js:95:17)
    at Pipe.close (net.js:465:12)
@DaftMonk
Copy link
Member

DaftMonk commented Jul 9, 2014

It looks like you're missing the .yo-rc file that should be generated with a new project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants