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

UnhandledPromiseRejectionWarning: Unhandled promise rejection #55

Closed
ZouZou opened this issue Apr 8, 2020 · 1 comment
Closed

UnhandledPromiseRejectionWarning: Unhandled promise rejection #55

ZouZou opened this issue Apr 8, 2020 · 1 comment

Comments

@ZouZou
Copy link

ZouZou commented Apr 8, 2020

I am just starting with this repo, I did everything according to the docs however when I finish the last step and get the following:

Success! Created openapi folder.
You can run several commands:

npm start
Starts the development server.

npm run build
Bundles the definition.

npm test
Validates the definition.

We suggest that you begin by typing:

npm start

I try to use npm start and i get the below:

(node:29112) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): YAMLException: unknown escape sequence at line 3, column 18:
main: "openapi\openapi.yaml"
^
(node:29112) [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.

Can you help please?

@RomanHotsiy
Copy link
Member

Dup of Redocly/redocly-cli#110

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