-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
I get a DeprecationWarning when I try to run the generator!
- Platform: MacOS
- Lorem Ipsum Generator Generator Version: Latest
- Node Version (if a Node bug): v12.16.2
Current Behavior
I get this when I run it:
(node:58672) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'trim' of undefined
at /.npm/_npx/58672/lib/node_modules/@postlight/lorem-ipsum-generator-generator/cli.js:177:24
at async Promise.all (index 3)
(node:58672) 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:58672) [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.
Steps to Reproduce
Input:
npx @postlight/lorem-ipsum-generator-generator \
https://jamstack.org/ \
https://www.freecodecamp.org/news/jamstack-full-course/ \
https://www.netlify.com/blog/2020/04/14/what-is-a-static-site-generator-and-3-ways-to-find-the-best-one/\#main \
--project-name "Jamstack Ipsum" \
--logo https://imgur.com/4pqH7Ul \ --accent "#f0057f"
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels