firebase-discord-oauth2-example icon indicating copy to clipboard operation
firebase-discord-oauth2-example copied to clipboard

Build failed: npm ERR! Cannot read property 'cookie-parser' of undefined

Open amitgandhinz opened this issue 2 years ago • 0 comments

Hi

Does this package still work? I followed the instructions and when I deploy to Firebase, I get the error:

Build failed: npm ERR! Cannot read property 'cookie-parser' of undefined

If I try to npm install cookie-parser directly, I also get the following warnings:

npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: undefined,
npm WARN EBADENGINE   required: { node: '12' },
npm WARN EBADENGINE   current: { node: 'v18.16.1', npm: '9.5.1' }
npm WARN EBADENGINE }

Not sure how to proceed here. Any help would be appreciated.

Thanks.

amitgandhinz avatar Jul 10 '23 03:07 amitgandhinz