Closed jordanmaguire closed 2 years ago
I think this is yarn specific but you can work around this with a resolution in your package.json
"resolutions": {
"spectacle-docs/commander": "6.x.x"
},
Looks to be resolved by #224
yarn add 'spectacle-docs@https://github.com/sourcey/spectacle#3257da500b8a2483b6ad3356e50fe00b65bb6a6f'
until there's a release
The latest major version of commander has changed how options are parsed:
https://github.com/tj/commander.js/blob/master/CHANGELOG.md#migration-tips
This is resulting in options being passed into spectacle having no effect.
EG:
When I run:
The path does not change from the default (
public
).This library has specified any version of commander as a dependency:
https://github.com/sourcey/spectacle/blob/master/package.json
I think there are two paths to resolving this: