2
respostas

codigos no terminal não funcionam

eu coloco sass style.scss:style.css no terminal e nada acontece e quando coloco o sass --whatch style.scss:style.css aparece isso:

Could not find an option named "whatch".

Usage: sass <input.scss> [output.css]
       sass <input.scss>:<output.css> <input/>:<output/> <dir/>

=== Input and Output ===================
    --[no-]stdin               Read the stylesheet from stdin.
    --[no-]indented            Use the indented syntax for input from stdin.
-I, --load-path=<PATH>         A path to use when resolving imports.
                               May be passed multiple times.
-s, --style=<NAME>             Output style.
                               [expanded (default), compressed]
    --[no-]charset             Emit a @charset or BOM for CSS with non-ASCII characters.                               (defaults to on)
    --[no-]error-css           When an error occurs, emit a stylesheet describing it.   
                               Defaults to true when compiling to a file.
    --update                   Only compile out-of-date stylesheets.

=== Source Maps ========================
    --[no-]source-map          Whether to generate source maps.
                               (defaults to on)
    --source-map-urls          How to link from source maps to source files.
                               [relative (default), absolute]
    --[no-]embed-sources       Embed source file contents in source maps.
    --[no-]embed-source-map    Embed source map contents in CSS.

=== Other ==============================
-w, --watch                    Watch stylesheets and recompile when they change.        
    --[no-]poll                Manually check for changes rather than using a native watcher.
                               Only valid with --watch.
    --[no-]stop-on-error       Don't compile more files once an error is encountered.   
-i, --interactive              Run an interactive SassScript shell.
    --[no-]unicode             Whether to use Unicode characters for messages.
-q, --[no-]quiet               Don't print warnings.
    --[no-]quiet-deps          Don't print compiler warnings from dependencies.
                               Stylesheets imported through load paths count as dependencies.
    --[no-]verbose             Print all deprecation warnings even when they're repetitive.
    --[no-]trace               Print full Dart stack traces for exceptions.
-h, --help                     Print this usage information.

vou desistir do curso pois n consigo nem começar :/

2 respostas

Irmão você esta tentando colocar o nome do seu arquivo? não entendi muito bem.

Olá! tudo bem? Estou iniciando no curso agora, mas acredito que mudando --whatch para --watch, deve funcionar.

seu comando ficaria assim > sass --watch style.scss:style.css