Skip to content

Failed: TypeError: Cannot read property 'parseArgs' of undefined #102

Open

Description

@ufairiya

blessc style.css
Failed: TypeError: Cannot read property 'parseArgs' of undefined
TypeError: Cannot read property 'parseArgs' of undefined
at parseCliArgs (/usr/local/lib/node_modules/bless/lib/parse-cli-args.js:67:44)
at cliExeute (/usr/local/lib/node_modules/bless/lib/cli.js:29:42)
at Object. (/usr/local/lib/node_modules/bless/bin/blessc:7:1)
at Module._compile (module.js:398:26)
at Object.Module._extensions..js (module.js:405:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:430:10)
at startup (node.js:141:18)
at node.js:1003:3

Activity

  1. jonscottclark commented on May 18, 2016

    @jonscottclark

    The website is outdated.

    You must run the following commands:

    $ blessc count style.css to check your file

    or

    $ blessc chunk style.css to split your file into chunks

  2. tyaginaitik commented on Jun 7, 2016

    @tyaginaitik

    Hi,
    I have use this command but not working, thrown error
    example:-
    lessc custom-bootstrapadmin.less | blessc chunk ../../css/appV2admin.css

    Can you please help me out.

  3. jonscottclark commented on Jun 7, 2016

    @jonscottclark

    @tyaginaitik You're trying to pipe the output of lessc to blessc, and I think bless requires a filename as a parameter instead of reading from STDIN. Run this as two commands:

    lessc custom-bootstrapadmin.less && blessc chunk custom-bootstrapadmin.css
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions