Hello guys,
I’m integrating my Nodejs + Express app to Auth0, however when I try to start the app I’m getting the following error:
Error: Package exports for ‘[path]\node_modules\openid-client’ do not define a ‘.’ subpath
at applyExports (internal/modules/cjs/loader.js:485:15)
at resolveExports (internal/modules/cjs/loader.js:508:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:577:20)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:879:27)
at Function.Module._load (internal/modules/cjs/loader.js:785:27)
at Module.require (internal/modules/cjs/loader.js:956:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. ([path]\node_modules\express-openid-connect\lib\client.js:1:28)
at Module._compile (internal/modules/cjs/loader.js:1063:30)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:1103:10) {
code: ‘MODULE_NOT_FOUND’
My Node version is v13.1.0.
Any ideas?