BinaryOptionsTools-v2 icon indicating copy to clipboard operation
BinaryOptionsTools-v2 copied to clipboard

BinaryToolsJS not working

Open notedwin-dev opened this issue 1 year ago • 4 comments

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

notedwin-dev avatar Jul 01 '25 20:07 notedwin-dev

We need to fix this, we will add it in the upcoming version

theshadow76 avatar Jul 01 '25 20:07 theshadow76

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.

Rick-29 avatar Jul 06 '25 03:07 Rick-29

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

notedwin-dev avatar Jul 07 '25 08:07 notedwin-dev

This issue is now closed, please open a new one if you need more help!

theshadow76 avatar Nov 15 '25 10:11 theshadow76