-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Hi @tkqubo! Thanks for the request to bump the plugin -- we updated that on June 19.
I'm working with a user who's running into the "Could not find custom rule directory" when using Codelyzer. There have been a couple of other issues related to this:
- FatalError: Failed to load (Could not find custom rule directory)Β #47
- Running on codeclimate.com fails with a FatalErrorΒ #26
Troubleshooting with an oss repo, I'm seeing:
/usr/src/app/node_modules/tslint/lib/configuration.js:57
throw new error_1.FatalError("Failed to load " + configPath + ": " + error.message, error);
^
FatalError: Failed to load /tmp/codeclimate-tslint/322be5549801493ac98a0cf91b90a10adf8628140a83a36d8272795ac3f5be9d.json: Could not find custom rule directory: /code/codelyzer
at new FatalError (/usr/src/app/node_modules/tslint/lib/error.js:27:28)
at Object.findConfiguration (/usr/src/app/node_modules/tslint/lib/configuration.js:57:15)
at new TsLinter (/usr/src/app/dist/tsLinter.js:35:57)
at Object.<anonymous> (/usr/src/app/dist/index.js:15:18)
at Module._compile (internal/modules/cjs/loader.js:776:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:787:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Module.require (internal/modules/cjs/loader.js:690:17)
Do you have any ideas of how to troubleshoot this further? Typically, these dependencies work when packaged with the plugin, and codelyzer already is. π€ I'm not as familiar with Codelyzer and how it interacts with TSLint, so I'd love to see if you can help on that side.
Thanks π
mltsy, batista and anionDev
Metadata
Metadata
Assignees
Labels
No labels