Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read property 'path' of undefined on @debut/plugin-utils #5

Closed
iamp3 opened this issue Jun 14, 2021 · 1 comment
Closed

Comments

@iamp3
Copy link

iamp3 commented Jun 14, 2021

Node version v14.17.0
Npm version v7.17.0

Tested on Windows 10/ Ubuntu 20/ Docker Alpine 3.12
npm install + npm run compile without errors

Full trace:

npm run testing - --bot=SpikesG --ticker=BTCUSDT --days=200 --gap=20

> @debut/strategies@1.0.0 testing /home/iamp3/Strategies
> tester -- "-"

/home/iamp3/Strategies/node_modules/@debut/plugin-utils/dist/cli.js:38
    const dir = path_1.default.resolve(botData.path);
                                               ^

TypeError: Cannot read property 'path' of undefined
    at Object.getBotData (/home/iamp3/Strategies/node_modules/@debut/plugin-utils/dist/cli.js:38:48)
    at Object.<anonymous> (/home/iamp3/Strategies/node_modules/@debut/community-core/lib/cli/tester.js:2:242)
    at Module._compile (internal/modules/cjs/loader.js:1068:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1097:10)
    at Module.load (internal/modules/cjs/loader.js:933:32)
    at Function.Module._load (internal/modules/cjs/loader.js:774:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12)
    at internal/main/run_main_module.js:17:47
@iamp3
Copy link
Author

iamp3 commented Jun 14, 2021

Fixed --> b1a95c5

@iamp3 iamp3 closed this as completed Jun 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant