Open
Description
This started to happen with the recent updates. Until now this was working fine:
// package.json
{
"scripts": {
"release": "conventional-github-releaser -t"
}
}
npm run release -- MY_TOKEN
But I started to get the following error:
C:\...es\conventional-github-releaser\node_modules\meow\node_modules\minimist-options\index.js:101
throw new TypeError(`Expected "${key}" default value to be of type "${expectedType}", got ${prettyPrint(defaultType)}`);
^
TypeError: Expected "token" default value to be of type "string", got "undefined"
at C:\node_modules\conventional-github-releaser\node_modules\meow\node_modules\minimist-options\index.js:101:12
at Array.forEach (<anonymous>)
at buildOptions (C:\node_modules\conventional-github-releaser\node_modules\meow\node_modules\minimist-options\index.js:64:23)
at meow (C:\node_modules\conventional-github-releaser\node_modules\meow\index.js:136:18)
at Object.<anonymous> (C:\node_modules\conventional-github-releaser\src\cli.js:9:13)
at Module._compile (internal/modules/cjs/loader.js:1200:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1220:10)
at Module.load (internal/modules/cjs/loader.js:1049:32)
at Function.Module._load (internal/modules/cjs/loader.js:937:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:71:12)
Metadata
Metadata
Assignees
Labels
No labels