-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Describe the bug
I am not able to run socket io example end to end
- I tried via cli example it though error which is attached in logs
- manually created same example but it throws cors error
- example doesn't have rest & socketio combined example
Can you please give me running example of loopback 4 socket io which contains rest api as well?
Logs
lb4 example
? What example would you like to clone? socketio
✖ An error occured while running loopback4:example#downloadAndExtract
(node:3894) UnhandledPromiseRejectionWarning: Error: ENOENT: no such file or directory, rename '/Users/saurabhmanchanda/Documents/Work/Personal/loopback4-example-socketio/tsconfig.build.json' -> '/Users/saurabhmanchanda/Documents/Work/Personal/loopback4-example-socketio/tsconfig.json'
(Use `node --trace-warnings ...` to show where the warning was created)
(node:3894) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:3894) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.Additional information
No response
Reproduction
https://github.com/loopbackio/loopback-next/tree/master/examples/socketio