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

req.model is undefined #372

Open
watarungurunnn opened this issue Apr 9, 2023 · 2 comments
Open

req.model is undefined #372

watarungurunnn opened this issue Apr 9, 2023 · 2 comments

Comments

@watarungurunnn
Copy link

~/node_modules/dalai/index.js:219
    let [Core, Model] = req.model.split(".")
TypeError: Cannot read properties of undefined (reading 'split')
    at Dalai.query (/Users/watarukawakami/node_modules/dalai/index.js:219:35)
    at Socket.<anonymous> (/Users/watarukawakami/node_modules/dalai/index.js:545:20)
    at Socket.emit (node:events:513:28)
    at Socket.emitUntyped (/Users/watarukawakami/node_modules/socket.io/dist/typed-events.js:69:22)
    at /Users/watarukawakami/node_modules/socket.io/dist/socket.js:703:39
    at process.processTicksAndRejections (node:internal/process/task_queues:77:11)

Node.js v18.7.0
@anaclumos
Copy link

having the same problem

@watarungurunnn
Copy link
Author

I already fixed in the above PR. plz locally install it!

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