Krutoy242 / mc-benchmark

Collect information about load time from Debug.log and output it in .MD file
20 stars 3 forks source link

Not generating md file #1

Closed democat3457 closed 2 years ago

democat3457 commented 2 years ago

Installed on macOS 10.15.6, mc-benchmark 1.0.4, node 16.13.2, npm 8.1.2 and 8.3.1

After running the command with no arguments, the command exits without errors or prints, but it doesn't generate an md file. The same thing happens when passing arguments, and using the logs/latest.log doesn't throw an error either.

Krutoy242 commented 2 years ago

This is somehow related to NPM working on other platforms. It couldn't find how to execute file.

Try to run program without installing. Navigate to MC and run:

> npx mc-benchamark --help

If help not shown, that means program still cant be found. In this case, you can manage to find program in globally installation directory, and use it path instead of shorten. In Windows it:

> node "C:/Users/LD/AppData/Roaming/npm/node_modules/mc-benchmark/index.js" --help

Im kinda new at npm, so probably would figure out later why its not working properly on other platforms 😅

Krutoy242 commented 2 years ago

If this problem is still actual feel free to comment.

democat3457 commented 2 years ago

ok so the first one didnt work, but the second one does - for reference, the node modules are located here on mac