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'm getting a bunch of package errors once I install gocardless-nodejs and then import into my project. I've tried installing and updating the packages, but the errors still persist. Is there something else I can do to resolve the issue?
The only relevant code added to my project after importing is const gocardless = require('gocardless-nodejs');
@Zsofi007 I did not unfortunately, I ended up using a different service. I also don't have access to this project anymore so I can’t verify which one, sorry.
It also doesn’t seem like there’s much support for this repo anymore so I would recommend using a different service for this as well.
Hi there,
I'm getting a bunch of package errors once I install gocardless-nodejs and then import into my project. I've tried installing and updating the packages, but the errors still persist. Is there something else I can do to resolve the issue?
The only relevant code added to my project after importing is
const gocardless = require('gocardless-nodejs');
These are the errors I'm getting
`ERROR in ./node_modules/dns/node_modules/native-dns/lib/server.js
Module not found: Error: Can't resolve 'dgram' in '/Users/benwozak/Documents/Workspace/CaaS-Integrator-Portal/node_modules/dns/node_modules/native-dns/lib'
@ ./node_modules/dns/node_modules/native-dns/lib/server.js 23:12-28
@ ./node_modules/dns/node_modules/native-dns/dns.js
@ ./node_modules/dns/lib/dns.js
@ ./node_modules/gocardless-nodejs/node_modules/cacheable-lookup/index.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/normalize-arguments.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/create.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/index.js
@ ./node_modules/gocardless-nodejs/api/api.js
@ ./node_modules/gocardless-nodejs/client.js
@ ./node_modules/gocardless-nodejs/index.js
@ ./src/components/billing/goCardless/CardlessInputs.jsx
@ ./src/components/billing/CreateBillingUser.jsx
@ ./src/components/billing/SetupBillingStepper.jsx
@ ./src/views/BillingView.jsx
@ ./src/App.js
@ ./src/index.js
@ multi react-hot-loader/patch ./src/index.js webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr
ERROR in ./node_modules/dns/node_modules/native-dns/lib/utils.js
Module not found: Error: Can't resolve 'dgram' in '/Users/benwozak/Documents/Workspace/CaaS-Integrator-Portal/node_modules/dns/node_modules/native-dns/lib'
@ ./node_modules/dns/node_modules/native-dns/lib/utils.js 21:12-28
@ ./node_modules/dns/node_modules/native-dns/lib/platform.js
@ ./node_modules/dns/node_modules/native-dns/dns.js
@ ./node_modules/dns/lib/dns.js
@ ./node_modules/gocardless-nodejs/node_modules/cacheable-lookup/index.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/normalize-arguments.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/create.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/index.js
@ ./node_modules/gocardless-nodejs/api/api.js
@ ./node_modules/gocardless-nodejs/client.js
@ ./node_modules/gocardless-nodejs/index.js
@ ./src/components/billing/goCardless/CardlessInputs.jsx
@ ./src/components/billing/CreateBillingUser.jsx
@ ./src/components/billing/SetupBillingStepper.jsx
@ ./src/views/BillingView.jsx
@ ./src/App.js
@ ./src/index.js
@ multi react-hot-loader/patch ./src/index.js webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr
ERROR in ./node_modules/native-dns-cache/lookup.js
Module not found: Error: Can't resolve 'dgram' in '/Users/benwozak/Documents/Workspace/CaaS-Integrator-Portal/node_modules/native-dns-cache'
@ ./node_modules/native-dns-cache/lookup.js 21:12-28
@ ./node_modules/native-dns-cache/index.js
@ ./node_modules/dns/node_modules/native-dns/lib/platform.js
@ ./node_modules/dns/node_modules/native-dns/dns.js
@ ./node_modules/dns/lib/dns.js
@ ./node_modules/gocardless-nodejs/node_modules/cacheable-lookup/index.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/normalize-arguments.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/create.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/index.js
@ ./node_modules/gocardless-nodejs/api/api.js
@ ./node_modules/gocardless-nodejs/client.js
@ ./node_modules/gocardless-nodejs/index.js
@ ./src/components/billing/goCardless/CardlessInputs.jsx
@ ./src/components/billing/CreateBillingUser.jsx
@ ./src/components/billing/SetupBillingStepper.jsx
@ ./src/views/BillingView.jsx
@ ./src/App.js
@ ./src/index.js
@ multi react-hot-loader/patch ./src/index.js webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr
ERROR in ./node_modules/dns/node_modules/native-dns/lib/platform.js
Module not found: Error: Can't resolve 'fs' in '/Users/benwozak/Documents/Workspace/CaaS-Integrator-Portal/node_modules/dns/node_modules/native-dns/lib'
@ ./node_modules/dns/node_modules/native-dns/lib/platform.js 23:9-22
@ ./node_modules/dns/node_modules/native-dns/dns.js
@ ./node_modules/dns/lib/dns.js
@ ./node_modules/gocardless-nodejs/node_modules/cacheable-lookup/index.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/normalize-arguments.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/create.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/index.js
@ ./node_modules/gocardless-nodejs/api/api.js
@ ./node_modules/gocardless-nodejs/client.js
@ ./node_modules/gocardless-nodejs/index.js
@ ./src/components/billing/goCardless/CardlessInputs.jsx
@ ./src/components/billing/CreateBillingUser.jsx
@ ./src/components/billing/SetupBillingStepper.jsx
@ ./src/views/BillingView.jsx
@ ./src/App.js
@ ./src/index.js
@ multi react-hot-loader/patch ./src/index.js webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr
ERROR in ./node_modules/gocardless-nodejs/node_modules/got/dist/source/request-as-event-emitter.js
Module not found: Error: Can't resolve 'fs' in '/Users/benwozak/Documents/Workspace/CaaS-Integrator-Portal/node_modules/gocardless-nodejs/node_modules/got/dist/source'
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/request-as-event-emitter.js 3:13-26
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/as-stream.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/index.js
@ ./node_modules/gocardless-nodejs/api/api.js
@ ./node_modules/gocardless-nodejs/client.js
@ ./node_modules/gocardless-nodejs/index.js
@ ./src/components/billing/goCardless/CardlessInputs.jsx
@ ./src/components/billing/CreateBillingUser.jsx
@ ./src/components/billing/SetupBillingStepper.jsx
@ ./src/views/BillingView.jsx
@ ./src/App.js
@ ./src/index.js
@ multi react-hot-loader/patch ./src/index.js webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr
ERROR in ./node_modules/gocardless-nodejs/node_modules/got/dist/source/utils/get-body-size.js
Module not found: Error: Can't resolve 'fs' in '/Users/benwozak/Documents/Workspace/CaaS-Integrator-Portal/node_modules/gocardless-nodejs/node_modules/got/dist/source/utils'
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/utils/get-body-size.js 3:13-26
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/normalize-arguments.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/create.js
@ ./node_modules/gocardless-nodejs/node_modules/got/dist/source/index.js
@ ./node_modules/gocardless-nodejs/api/api.js
@ ./node_modules/gocardless-nodejs/client.js
@ ./node_modules/gocardless-nodejs/index.js
@ ./src/components/billing/goCardless/CardlessInputs.jsx
@ ./src/components/billing/CreateBillingUser.jsx
@ ./src/components/billing/SetupBillingStepper.jsx
@ ./src/views/BillingView.jsx
@ ./src/App.js
@ ./src/index.js
@ multi react-hot-loader/patch ./src/index.js webpack-hot-middleware/client?path=http://localhost:3000/__webpack_hmr`
The text was updated successfully, but these errors were encountered: