Skip to content
This repository has been archived by the owner on Sep 7, 2022. It is now read-only.

Duplicate config error #53

Open
akawalsky opened this issue Aug 28, 2020 · 1 comment
Open

Duplicate config error #53

akawalsky opened this issue Aug 28, 2020 · 1 comment

Comments

@akawalsky
Copy link

akawalsky commented Aug 28, 2020

When running sls --config serverless.local.yml offline start locally, I get

Got 2 config paths: [serverless.local.yml, serverless.local.yml].Expected single value

This line https://github.com/ajmath/serverless-offline-scheduler/blob/master/lib/scheduler.js#L101 gives me

{"c":"serverless.local.yml","config":"serverless.local.yml"}

I added a hack locally to make it work

if (opts.config && opts.c && opts.config === opts.c) {
      delete opts.c;
}

Serverless version 1.80.0

@abdullateef97
Copy link

same issue here @akawalsky , is there a permanent fix

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants