I am trying to initialize a new plugin with yo joplin and getting this error
C:\dev\joplin-plugin-search-results\node_modules\webpack-cli\bin\cli.js:154
                        if (typeof outputOptions.context === "undefined") outputOptions.context = firstOptions.context;
                                                                                                               ^
TypeError: Cannot read property 'context' of undefined
    at processOptions (C:\dev\joplin-plugin-search-results\node_modules\webpack-cli\bin\cli.js:154:91)
    at C:\dev\joplin-plugin-search-results\node_modules\webpack-cli\bin\cli.js:364:3
    at Object.parse (C:\dev\joplin-plugin-search-results\node_modules\webpack-cli\node_modules\yargs\yargs.js:576:18)
    at C:\dev\joplin-plugin-search-results\node_modules\webpack-cli\bin\cli.js:49:8
    at Object.<anonymous> (C:\dev\joplin-plugin-search-results\node_modules\webpack-cli\bin\cli.js:366:3)
Earlier today it worked fine, not sure what could have happened. Any pointers?