ngrok icon indicating copy to clipboard operation
ngrok copied to clipboard

Module not found: Can't resolve 'http2'

Open avikalpg opened this issue 3 years ago • 4 comments

I get this error on importing the ngrok module into my file.

../node_modules/http2-wrapper/source/index.js
Module not found: Can't resolve 'http2' in 'C:\Users\avika\Documents\Work\Sustainable Innovation\Alokit\mentorship-website\node_modules\http2-wrapper\source'

My node version: v14.15.3

avikalpg avatar Jun 04 '22 15:06 avikalpg

Seems like maybe an issue with npm installation? Have you tried removing your node_modules folder and installing again?

philnash avatar Jun 06 '22 03:06 philnash

Hey @avikalpg, did you try removing your node_modules folder and installing again? Just hoping to either find out some more information or close this issue out. Thanks!

philnash avatar Aug 16 '22 05:08 philnash

Hi @philnash,

Sorry I missed this notification. I will try this solution today and update this thread.

avikalpg avatar Sep 09 '22 01:09 avikalpg

Thanks @avikalpg, let me know how it goes.

philnash avatar Sep 09 '22 06:09 philnash