We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Was playing around with Central and got this error when starting the server:
/central-demo/node_modules/central/server/server.coffee:28 this.expressApp.set('views', this.options.viewsPath); ^ TypeError: Cannot read property 'viewsPath' of undefined
It looks like server.coffee calls _.extend on line 20 with arguments in the wrong order:
@options = _.extend(options, defaultOptions)
Simply switching them to place defaultOptions first fixes the issue:
@options = _.extend(defaultOptions, options)
Server.configure has the same call on line 33, with the correct order.
Server.configure
Edit: PR up.
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Was playing around with Central and got this error when starting the server:
It looks like server.coffee calls _.extend on line 20 with arguments in the wrong order:
Simply switching them to place defaultOptions first fixes the issue:
Server.configure
has the same call on line 33, with the correct order.Edit: PR up.
The text was updated successfully, but these errors were encountered: