Skip to content

styles.styl can't find base.styl #23

Closed
@srl295

Description

@srl295
$ iojs build.js 
[metalsmith] build/static finished: 157ms
/Users/srl/git/new.nodejs.org/build.js:68
      if (err) { throw err; }
                 ^

Error: styles.styl:1:9
   1| @import 'base'
--------------^
   2| 

failed to locate @import file base.sty


    at Evaluator.visitImport (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/evaluator.js:901:21)
    at Evaluator.Visitor.visit (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/index.js:28:40)
    at Evaluator.visit (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/evaluator.js:156:18)
    at Evaluator.visitRoot (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/evaluator.js:693:27)
    at Evaluator.Visitor.visit (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/index.js:28:40)
    at Evaluator.visit (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/evaluator.js:156:18)
    at Evaluator.evaluate (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/visitor/evaluator.js:233:15)
    at Renderer.render (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/node_modules/stylus/lib/renderer.js:86:26)
    at /Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/lib/index.js:42:11
    at Array.forEach (native)
    at Ware.<anonymous> (/Users/srl/git/new.nodejs.org/node_modules/metalsmith-stylus/lib/index.js:22:12)
    at Ware.<anonymous> (/Users/srl/git/new.nodejs.org/node_modules/metalsmith/node_modules/ware/node_modules/wrap-fn/index.js:45:19)
    at next (/Users/srl/git/new.nodejs.org/node_modules/metalsmith/node_modules/ware/lib/index.js:85:20)
    at /Users/srl/git/new.nodejs.org/node_modules/metalsmith/node_modules/ware/node_modules/wrap-fn/index.js:121:18
    at Ware.<anonymous> (/Users/srl/git/new.nodejs.org/plugins/filter-stylus-partials.js:16:9)
    at Ware.<anonymous> (/Users/srl/git/new.nodejs.org/node_modules/metalsmith/node_modules/ware/node_modules/wrap-fn/index.js:45:19)

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