Giter VIP home page Giter VIP logo

prejss-cli's People

Contributors

denisizmaylov avatar grigory-leonenko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prejss-cli's Issues

bootstrap scss example not working

I'm encountering an error when attempting to run the example code against Bootstrap:

prejss-cli bootstrap/v4-dev/scss/**/*.scss --parser postcss --out-dir ./bootstrap4-jss \
  --config plugins=postcss-import,postcss-simple-vars,postcss-sassy-mixins

Here's the error message:


repos/jss-test/node_modules/postcss/lib/processor.js:167
        throw new Error(i + ' is not a PostCSS plugin');
        ^

Error: @mixin alert-variant($background, $border, $color) {
  color: $color;
  @include gradient-bg($background);
  border-color: $border;

  hr {
    border-top-color: darken($border, 5%);
  }

  .alert-link {
    color: darken($color, 10%);
  }
}
 is not a PostCSS plugin
    at Processor.normalize (repos/jss-test/node_modules/postcss/lib/processor.js:167:15)
    at new Processor (repos/jss-test/node_modules/postcss/lib/processor.js:54:25)
    at postcss (repos/jss-test/node_modules/postcss/lib/postcss.js:73:10)
    at exports.default (repos/jss-test/node_modules/prejss-cli/lib/process-file.js:35:16)
    at repos/jss-test/node_modules/prejss-cli/lib/cli.js:125:31
    at Array.forEach (<anonymous>)
    at Object.<anonymous> (repos/jss-test/node_modules/prejss-cli/lib/cli.js:117:13)
    at Module._compile (module.js:643:30)
    at Object.Module._extensions..js (module.js:654:10)
    at Module.load (module.js:556:32)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] compile-bootstrap-v4: `prejss-cli node_modules/bootstrap/scss/**/*.scss --parser postcss --out-dir ./bootstrap4-jss --config plugins=postcss-import,postcss-simple-vars,postcss-sassy-mixins`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] compile-bootstrap-v4 script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     .npm/_logs/2018-08-08T19_53_00_704Z-debug.log

Could not locate the bindings file


> @visable-dev/[email protected] prejss
> prejss-cli dist/styles.css

/Users/gkatsanos/repos/visable/ui-components/node_modules/bindings/bindings.js:135
  throw err;
  ^

Error: Could not locate the bindings file. Tried:
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/Debug/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/Release/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/out/Debug/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/Debug/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/out/Release/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/Release/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/default/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/compiled/16.19.0/darwin/arm64/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/addon-build/release/install-root/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/addon-build/debug/install-root/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/addon-build/default/install-root/deasync.node
 → /Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/lib/binding/node-v93-darwin-arm64/deasync.node
    at bindings (/Users/gkatsanos/repos/visable/ui-components/node_modules/bindings/bindings.js:126:9)
    at Object.<anonymous> (/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/index.js:30:31)
    at Module._compile (node:internal/modules/cjs/loader:1165:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
    at Module.load (node:internal/modules/cjs/loader:1043:32)
    at Function.Module._load (node:internal/modules/cjs/loader:878:12)
    at Module.require (node:internal/modules/cjs/loader:1067:19)
    at require (node:internal/modules/cjs/helpers:103:18)
    at Object.<anonymous> (/Users/gkatsanos/repos/visable/ui-components/node_modules/prejss-postcss-parser/lib/sync/parser.js:11:16)
    at Module._compile (node:internal/modules/cjs/loader:1165:14) {
  tries: [
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/Debug/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/Release/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/out/Debug/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/Debug/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/out/Release/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/Release/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/build/default/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/compiled/16.19.0/darwin/arm64/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/addon-build/release/install-root/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/addon-build/debug/install-root/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/addon-build/default/install-root/deasync.node',
    '/Users/gkatsanos/repos/visable/ui-components/node_modules/deasync/lib/binding/node-v93-darwin-arm64/deasync.node'
  ]

node: v16.19.0

# npm list prejss-postcss-parser
@visable-dev/[email protected] /Users/gkatsanos/repos/visable/ui-components
└─┬ [email protected]
  └── [email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.