Skip to content

API throws error #42

@cherifGsoul

Description

@cherifGsoul

This prevents deployment on heroku

node api/index.js throws error on done-server:

/Users/cherif_b/public_html/projects/donejs/chat/node_modules/done-serve/lib/app.js:18
	if(options.proxy) {
	           ^

TypeError: Cannot read property 'proxy' of undefined
    at module.exports (/Users/cherif_b/public_html/projects/donejs/chat/node_modules/done-serve/lib/app.js:18:13)
    at module.exports (/Users/cherif_b/public_html/projects/donejs/chat/node_modules/done-serve/lib/index.js:6:12)
    at Object.<anonymous> (/Users/cherif_b/public_html/projects/donejs/chat/api/index.js:4:11)
    at Module._compile (internal/modules/cjs/loader.js:778:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
    at Module.load (internal/modules/cjs/loader.js:653:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
    at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
    at startup (internal/bootstrap/node.js:283:19)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions