امیر حسین شریفی
6 سال پیش توسط امیر حسین شریفی مطرح شد
1 پاسخ

مشکل در نصب sass

سلام من sass رو به وسیله npm نصب می کنم این ها رو می نویسه

C:codesass>npm install sass
npm WARN saveError ENOENT: no such file or directory, open 'C:codesasspackage.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:codesasspackage.json'
npm WARN sass No description
npm WARN sass No repository field.
npm WARN sass No README data
npm WARN sass No license field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@۱.۲.۷ (node_modules sevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@۱.۲.۷: wanted {"os":"darwin","arch":"any"} (current: {"os":"win۳۲","arch":"x۶۴"})

بعدش تو phpstorm از sass استفاده می کنم خطای زیر رو میده

cmd.exe /D /C call C:codesass ode_modules.binsass.cmd compile path/to/project style.scss
Only two positional args may be passed.

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]

--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 ==============================
--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.
-c, --[no-]color Whether to use terminal colors for messages.
--[no-]unicode Whether to use Unicode characters for messages.
-q, --[no-]quiet Don't print warnings.
--[no-]trace Print full Dart stack traces for exceptions.
-h, --help Print this usage information.
--version Print the version of Dart Sass.

Process finished with exit code ۶۴


ثبت پرسش جدید
رایموند
تخصص : مختصص وردپرس - برنامه نویس لار...
@Raymond 6 سال پیش مطرح شد

برای ارسال پاسخ لازم است وارد شده یا ثبت‌نام کنید

ورود یا ثبت‌نام