Request-promise not installing correctly (Cannot find module 'request-promise')

Hey there!

I’ve been trying to install request-promise along with the standard request package, but it doesn’t appear to be working. I get the following error in the console:

Even with request and request-promise listed in package.json, my scripts still can’t access it, erroring with “Cannot find module ‘request-promise’”. I’m not sure if this is an error on my side or if it’s something on Glitch’s end, but any suggestions would be helpful! :grinning:

image
image
image

You will want to reach out to support@glitch.com for this.

1 Like

Glitch support solved the issue! I had to run enable-npm in the console to reinstall the packages with npm rather than pnpm. Worked like a charm.

1 Like