You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having issues importing the sdk for usage in that i am getting this error. i am using nodeJS v20.x, npm 10.5, i will greatly appreceate a nudge on this. Thanks alot.
My env : { "intasend-node": "^1.1.0",
}
` Error: Cannot find module '/Users/*****/VisualStudioCodeProjects/paysplit/node_modules/intasend-node/dist/intasend.js'. Please verify that the package.json has a valid "main" entry
I am having issues importing the sdk for usage in that i am getting this error. i am using nodeJS v20.x, npm 10.5, i will greatly appreceate a nudge on this. Thanks alot.
My env : {
"intasend-node": "^1.1.0",
}
` Error: Cannot find module '/Users/*****/VisualStudioCodeProjects/paysplit/node_modules/intasend-node/dist/intasend.js'. Please verify that the package.json has a valid "main" entry
code: 'MODULE_NOT_FOUND',
path: '/Users/*****/VisualStudioCodeProjects/paysplit/node_modules/intasend-node/package.json',
requestPath: 'intasend-node'
code example
const IntaSend = require('intasend-node');
require('dotenv').config({path : "./../.env"})
class IntaSendService {
constructor(publishableKey, secretKey, isTest) {
this.intasend = new IntaSend(publishableKey, secretKey, isTest);
this.collection = this.intasend.collection();
}
}
module.exports = IntaSendService
`
The text was updated successfully, but these errors were encountered: