Skip to content

error with --file-location #7

@franck34

Description

@franck34

Quarry can not start with disk option and --file-location (node v10.15.3)

quarry disk --file-location=quarry.conf
info: Starting Quarry version 0.6.2
/home/franck/testquery/quarry.conf:1
(function (exports, require, module, __filename, __dirname) { {"records":{},"forwarders":{}}
                                                                        ^
SyntaxError: Unexpected token :
    at new Script (vm.js:80:7)
    at createScript (vm.js:274:10)
    at Object.runInThisContext (vm.js:326:10)
    at Module._compile (internal/modules/cjs/loader.js:664:28)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10)
    at Module.load (internal/modules/cjs/loader.js:600:32)
    at tryModuleLoad (internal/modules/cjs/loader.js:539:12)
    at Function.Module._load (internal/modules/cjs/loader.js:531:3)
    at Module.require (internal/modules/cjs/loader.js:637:17)
    at require (internal/modules/cjs/helpers.js:22:18)

The file is created and it's content is:

{"records":{},"forwarders":{}}

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