Kikobeats / simple-wappalyzer

A simple, pre-cached, ready-to-use way to interact with Wappalyzer.
MIT License
25 stars 6 forks source link

"Required technology does not exist: ${name}" #72

Closed jenslys closed 7 months ago

jenslys commented 7 months ago

Started a fresh project, installed all dep and copied the code straight from the readme, i just get this error:


/Users/jenslys/Kode/wap/node_modules/wappalyzer-core/wappalyzer.js:432
            throw new Error(`Required technology does not exist: ${name}`)
            ^

Error: Required technology does not exist: WordpPress
    at /Users/jenslys/Kode/wap/node_modules/wappalyzer-core/wappalyzer.js:432:19
    at Array.forEach (<anonymous>)
    at /Users/jenslys/Kode/wap/node_modules/wappalyzer-core/wappalyzer.js:430:29
    at Array.forEach (<anonymous>)
    at Object.setTechnologies (/Users/jenslys/Kode/wap/node_modules/wappalyzer-core/wappalyzer.js:429:8)
    at Object.<anonymous> (/Users/jenslys/Kode/wap/node_modules/simple-wappalyzer/src/index.js:13:12)
    at Module._compile (node:internal/modules/cjs/loader:1376:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
    at Module.load (node:internal/modules/cjs/loader:1207:32)
    at Module._load (node:internal/modules/cjs/loader:1023:12)

Node.js v20.10.0

code:

const wappalyzer = require('simple-wappalyzer')
const getHTML = require('html-get')

getHTML('https://kikobeats.com', { getBrowserless: require('browserless') })
  .then(({ url, html, statusCode, headers }) =>
    wappalyzer({ url, html, statusCode, headers })
  )
  .then(result => console.log(result))
Kikobeats commented 7 months ago

It seems a bug in the upstream, I send a PR: https://github.com/enthec/webappanalyzer/pull/146

I landed a workaround available in v1.1.63.

I will keep this issue open until the PR is merged. Thanks for reporting 🙂