Running unbundled works fine. After bundling i keep getting an error:
TypeError: Path must be a string. Received undefined
at assertPath (path.js:28:11)
at Object.dirname (path.js:728:5)
at Function.pkginfo.find (C:\app.js:133417:14)
at Function.pkginfo.read (C:\app.js:133443:17)
at module.exports (C:\app.js:133392:21)
at Object. (C:\app.js:132762:25)
at Object. (C:\app.js:132782:30)
at webpack_require (C:\app.js:20:30)
at Object. (C:\app.js:132146:16)
at webpack_require (C:\app.js:20:30)
On checking the error stack trace it appears to be triggered from passport's dependency pkginfo. A similar issue has appeared with passport-azure-ad which I've reported before: https://github.com/AzureAD/passport-azure-ad/issues/369
Latest versions of passport has already dropped it's usage of pkginfo so I'd recommend updating as well.
Version: 3.0.1
Running unbundled works fine. After bundling i keep getting an error:
TypeError: Path must be a string. Received undefined at assertPath (path.js:28:11) at Object.dirname (path.js:728:5) at Function.pkginfo.find (C:\app.js:133417:14) at Function.pkginfo.read (C:\app.js:133443:17) at module.exports (C:\app.js:133392:21) at Object. (C:\app.js:132762:25)
at Object. (C:\app.js:132782:30)
at webpack_require (C:\app.js:20:30)
at Object. (C:\app.js:132146:16)
at webpack_require (C:\app.js:20:30)
On checking the error stack trace it appears to be triggered from passport's dependency pkginfo. A similar issue has appeared with passport-azure-ad which I've reported before: https://github.com/AzureAD/passport-azure-ad/issues/369
Latest versions of passport has already dropped it's usage of pkginfo so I'd recommend updating as well.