G
G
grishaaa2019-02-12 16:07:54
Command line
grishaaa, 2019-02-12 16:07:54

Why does it show an error in the console when compiling a .pug file?

I'm still zero in node.js, so I decided to install the pug plugin for layout.
I want to run the command pug —pretty index.htmlso that the code is in a readable form, but it gives me an error
What am I doing wrong
5c62c507a9254679812071.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Saboteur, 2019-02-12
@grishaaa

in what you need --pretty and not -pretty
Read about short-options and long-options and do not confuse double hyphen and single hyphen.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question