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
{{ message }}
This repository has been archived by the owner on Aug 6, 2021. It is now read-only.
On the initialisation of the bunqJSClient using NodeJS I receive the following error:
Error: Cannot find module './bunq-js-client-data.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at new Store (/root/johnnycash-backend/node_modules/json-store/index.js:6:16) at module.exports (/node_modules/json-store/index.js:35:10) at exports.default (
This is my setup currently. It seems like it thinks the json file in JSONFileStore needs to be a module? I created the file in the directory FYI.
constcustomStoreFile=`${__dirname}${path.sep}bunq-js-client-data.json`;// run the file store with a location to store the dataconststorageInstance=JSONFileStore(customStoreFile);
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
On the initialisation of the bunqJSClient using NodeJS I receive the following error:
Error: Cannot find module './bunq-js-client-data.json' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15) at Function.Module._load (internal/modules/cjs/loader.js:562:25) at Module.require (internal/modules/cjs/loader.js:692:17) at require (internal/modules/cjs/helpers.js:25:18) at new Store (/root/johnnycash-backend/node_modules/json-store/index.js:6:16) at module.exports (/node_modules/json-store/index.js:35:10) at exports.default (
This is my setup currently. It seems like it thinks the json file in JSONFileStore needs to be a module? I created the file in the directory FYI.
The text was updated successfully, but these errors were encountered: