The accessibility-insights-scan package depends on accessibility-insights-crawler, but this package is not available in the npm registry. As a result, running ai-scan leads to a TypeError due to the missing ensureDirectoryFunc functionality in ai-scan-cli.js.
Steps to Reproduce:
Install accessibility-insights-scan:
Expected Behavior:
The accessibility-insights-crawler package should be available in the npm registry, or the dependency on it should be removed or replaced with a built-in fallback in accessibility-insights-scan.
Observed Behavior:
The accessibility-insights-crawler package is missing from npm, causing runtime errors in accessibility-insights-scan.
Additional Context:
This issue blocks the ability to use accessibility-insights-scan effectively, as the dependency on a non-existent package leads to errors.
The accessibility-insights-scan package depends on accessibility-insights-crawler, but this package is not available in the npm registry. As a result, running ai-scan leads to a TypeError due to the missing ensureDirectoryFunc functionality in ai-scan-cli.js.
Steps to Reproduce: Install accessibility-insights-scan:
Attempt to run a scan: npx ai-scan --url https://www.wikipedia.org/ --output ./results
Observe the error: TypeError: this.ensureDirectoryFunc is not a function
Check the npm registry for accessibility-insights-crawler: npm install accessibility-insights-crawler
Result: npm ERR! 404 Not Found - GET https://registry.npmjs.org/accessibility-insights-crawler
Expected Behavior: The accessibility-insights-crawler package should be available in the npm registry, or the dependency on it should be removed or replaced with a built-in fallback in accessibility-insights-scan.
Observed Behavior: The accessibility-insights-crawler package is missing from npm, causing runtime errors in accessibility-insights-scan.
Additional Context: This issue blocks the ability to use accessibility-insights-scan effectively, as the dependency on a non-existent package leads to errors.