-
Notifications
You must be signed in to change notification settings - Fork 26
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
TypeError: rates.replaceAll is not a function #23
Comments
I think |
Hi, I still get this error. |
@2diegoduque what node version are you using? |
@paul-shuvo in my local 12.x environment, I updated it and it already worked, the problem is that I will use this code in an aws lambda that the maximum is 14.x |
I've pushed changes to the latest release |
Until now I had the opportunity to try, and it worked perfectly, thanks |
I am testing your package but I keep getting this error(TypeError: rates.replaceAll is not a function) when running the code from your docs
`const CC = require('currency-converter-lt')
let currencyConverter = new CC({from:"USD", to:"JPY", amount:100})
currencyConverter.convert().then((response) => {
console.log(response) //or do something else
})`
What to do now??
The text was updated successfully, but these errors were encountered: