Skip to content

outDir property doesn't work properly  #2

@MaestroJurko

Description

@MaestroJurko

my code:
var path = require('path');
var rootPath = process.cwd();
var uberOptions = {
jsPaths: [
path.join(rootPath, 'jQuery.js')
],
cssPaths: [ path.join(rootPath, 'style') ],
outputDir: path.join(rootPath, 'public/cached'),
debug: true
};
var uberCompiler = require('uber-compiler')(uberOptions);
uberCompiler.run();

error:
29 Mar 12:48:23 - Compiling JS files
29 Mar 12:48:23 - Compressing 1 CSS files

Error: ENOENT, no such file or directory '/Users/matjaz/Documents/NGBGA/templates/dbdd/node-dbdd/build/uber-compiler/public/cached/cached.css'
at Object.fs.openSync (fs.js:427:18)
at Object.fs.writeFileSync (fs.js:966:15)
at null. (/Users/matjaz/Documents/NGBGA/templates/dbdd/node-dbdd/build/node_modules/uber-compiler/index.js:241:8)
at Object.Parser.parser.parse (/Users/matjaz/Documents/NGBGA/templates/dbdd/node-dbdd/build/node_modules/less/lib/less/parser.js:476:17)
at UberCompiler.compileCss_ (/Users/matjaz/Documents/NGBGA/templates/dbdd/node-dbdd/build/node_modules/uber-compiler/index.js:230:10)
at UberCompiler.run (/Users/matjaz/Documents/NGBGA/templates/dbdd/node-dbdd/build/node_modules/uber-compiler/index.js:83:10)
at Object. (/Users/matjaz/Documents/NGBGA/templates/dbdd/node-dbdd/build/uber-compiler/uber.js:12:14)
at Module._compile (module.js:456:26)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions