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

TypeError: Cannot read property 'options' of undefined #2237

Closed
NetBT opened this issue Aug 13, 2019 · 1 comment
Closed

TypeError: Cannot read property 'options' of undefined #2237

NetBT opened this issue Aug 13, 2019 · 1 comment

Comments

@NetBT
Copy link

NetBT commented Aug 13, 2019

Info:

  • Docker version : 19.03.1, build 74b1e89
  • Laradock commit : 493fc1a
  • System info : PC
  • System info disto/version: WIN10 pro 1809

Issue:

An error occurred while I visit laravel-echo-server by localhost:6001.


Expected behavior:

TypeError: Cannot read property 'options' of undefined
at /usr/src/app/node_modules/laravel-echo-server/dist/server.js:60:37
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12)
at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
at expressInit (/usr/src/app/node_modules/express/lib/middleware/init.js:40:5)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7
at Function.process_params (/usr/src/app/node_modules/express/lib/router/index.js:335:12)
at next (/usr/src/app/node_modules/express/lib/router/index.js:275:10)
at query (/usr/src/app/node_modules/express/lib/middleware/query.js:45:5)
at Layer.handle [as handle_request] (/usr/src/app/node_modules/express/lib/router/layer.js:95:5)
at trim_prefix (/usr/src/app/node_modules/express/lib/router/index.js:317:13)
at /usr/src/app/node_modules/express/lib/router/index.js:284:7


Reproduce:

Build a laravel-echo-server,and visit localhost:6001.


Relevant Code:

// place a code sample here
@NetBT
Copy link
Author

NetBT commented Aug 16, 2019

The latest laravel-echo-server fixed this problem.laravel-echo-server:issues#430

@NetBT NetBT closed this as completed Aug 16, 2019
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