pdupavillon / express-recaptcha

Implementation of google recaptcha v2 & V3 solutions for express.js
MIT License
128 stars 22 forks source link

Cannot find module #19

Closed stevenvg closed 5 years ago

stevenvg commented 5 years ago

Getting this error:

node_modules/express-recaptcha/typings/express.d.ts:1:33 - error TS2307: Cannot find module '../src/interfaces'. 1 import {RecaptchaResponse} from '../src/interfaces';

I manually adjust it for now from: import {RecaptchaResponse} from '../src/interfaces'; to import {RecaptchaResponse} from '../dist/interfaces';

but every time my node_modules change, it reverts back to its original value. Is this something on my side? If not, could you guys please update this?

ihor-bobyr commented 5 years ago

+1

pdupavillon commented 5 years ago

Hi @stevenvg, @igorVladimirovich, I'll look at it

pdupavillon commented 5 years ago

Hey y'all, Should be good with the latest version (4.0.3). Could you confirm that please ? Thanks !