Skip to content
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

error [TypeError: nach.EntryAddenda is not a function] #17

Open
pmudahar opened this issue Aug 26, 2016 · 3 comments
Open

error [TypeError: nach.EntryAddenda is not a function] #17

pmudahar opened this issue Aug 26, 2016 · 3 comments

Comments

@pmudahar
Copy link

This is the error I'm getting when I'm using EntryAddenda function.

This is the code I'm using (essentially straight out of the readme) -

var addenda = new nach.EntryAddenda({
   paymentRelatedInformation: createStr(arr)
});

entry.addAdenda(addenda);
@jamesthrosby
Copy link

I was getting an error 'nach.EntryAddenda is not a constructor'. This can be fixed by going into your node_modules folder, going to index.js in the nach2 folder, and adding the following line:

module.exports.EntryAddenda = require('./lib/entry-addenda');

@figassis
Copy link

figassis commented Feb 5, 2022

It's mispelled, you're missing a d in Addenda. Documentation is also incorrect

@Sherry133
Copy link

Thank you so much. Both suggestions cleared it up for me, a newbie!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants