-
Notifications
You must be signed in to change notification settings - Fork 185
packages/verify/lib/interfaces/VerifyControlError.ts contains a broken import path #800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
@duckdotapk Can you also pass along which version of |
@manchuck Sure, here is that information:
Edit: Note that I updated some Vonage packages since my initial message so this |
@duckdotapk, thanks for that. I found the issue and opened PR #803 Sorry for the lousy refractor. |
No worries, it happens! I appreciate the incoming fix. |
Fixed in 1.1.2 https://www.npmjs.com/package/@vonage/verify/v/1.1.2 |
Expected Behavior
This file should import the
CheckStatus
enum as follows:Current Behavior
Instead, it currently imports it by going up too many directories, out of the
lib
folder and then back into it:This confuses the TypeScript compiler and causes an error when attempting to use the package because the
lib
folder is not included in the package on NPM:Possible Solution
See "Expected behaviour" above.
It is correct for this package to not include the
lib
folder, of course, and I believe correcting the path should cause the TSC to not try to looking there like it does right now.Steps to Reproduce (for bugs)
Attempt to compile TypeScript code that imports from a Vonage package which imports this script.
I am not sure which script in my project is causing this to get included as I do not have a direct dependency on
@vonage/verify
, instead another Vonage module is depending on it.Context
It just simply causes an error in the TypeScript compilation step which is not ideal.
Your Environment
The text was updated successfully, but these errors were encountered: