BinaryToolsJS not working
The error after trying to run the project with the respective npm package installed:
> node index.js
D:\Programming\pocket-option-telegram-bot\node_modules\@rick-29\binary-options-tools\index.js:308
throw loadError
^
Error: Cannot find module '@rick-29/binary-options-tools-win32-x64-msvc'
Require stack:
- D:\Programming\pocket-option-telegram-bot\node_modules\@rick-29\binary-options-tools\index.js
- D:\Programming\pocket-option-telegram-bot\index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1225:15)
at Module._load (node:internal/modules/cjs/loader:1051:27)
at Module.require (node:internal/modules/cjs/loader:1311:19)
at require (node:internal/modules/helpers:179:18)
at Object.<anonymous> (D:\Programming\pocket-option-telegram-bot\node_modules\@rick-29\binary-options-tools\index.js:72:29)
at Module._compile (node:internal/modules/cjs/loader:1469:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1548:10)
at Module.load (node:internal/modules/cjs/loader:1288:32)
at Module._load (node:internal/modules/cjs/loader:1104:12)
at Module.require (node:internal/modules/cjs/loader:1311:19) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'D:\\Programming\\pocket-option-telegram-bot\\node_modules\\@rick-29\\binary-options-tools\\index.js',
'D:\\Programming\\pocket-option-telegram-bot\\index.js'
]
}
Node.js v20.18.1
We need to fix this, we will add it in the upcoming version
The error is expected since the support for javacript was never finalized. While most of the code in order to add the js support is done, i had some problems publishing the version to npm. Currently i am working on releasing a fixed version of the library for python as recently Pocket Option made some changes on their websockets that made some functions stop working. Once that is completed i will finish the js support and publish the library.
The error is expected since the support for javacript was never finalized. While most of the code in order to add the js support is done, i had some problems publishing the version to npm. Currently i am working on releasing a fixed version of the library for python as recently Pocket Option made some changes on their websockets that made some functions stop working. Once that is completed i will finish the js support and publish the library.
Thank you for the updates
This issue is now closed, please open a new one if you need more help!