jimmymcp / al-test-runner

VS Code Extension to help run AL tests against Business Central container
https://jpearson.blog/al-test-runner-for-visual-studio-code/
MIT License
11 stars 16 forks source link

Extension does not load at all - Cannot find module './codeCoverage' #131

Closed StefanMaron closed 6 months ago

StefanMaron commented 6 months ago

Could it be that there is a missing dependency?

Activating extension 'jamespearson.al-test-runner' failed: Cannot find module './codeCoverage'
Require stack:
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/testCoverage.js
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/testController.js
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/telemetry.js
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/config.js
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/alFileHelper.js
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/codeLensProvider.js
- /home/stefan/.vscode/extensions/jamespearson.al-test-runner-0.10.3/out/extension.js
- /usr/share/code/resources/app/out/vs/loader.js
- /usr/share/code/resources/app/out/bootstrap-amd.js
- /usr/share/code/resources/app/out/bootstrap-fork.js
- .
jimmymcp commented 6 months ago

I think this is a problem with the casing of the file name. I will create a new version changing the name of the code coverage file.

StefanMaron commented 6 months ago

Hold off a little with this.

The issue is probably because I am attempting to use this on Linux. I am currently working myself through the list of problems this brings with it.

If I get this to run there might be some more changes :)