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

API throws error #42

Open
cherifGsoul opened this issue Mar 20, 2020 · 0 comments
Open

API throws error #42

cherifGsoul opened this issue Mar 20, 2020 · 0 comments

Comments

@cherifGsoul
Copy link
Contributor

cherifGsoul commented Mar 20, 2020

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)
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

1 participant