apigeelint icon indicating copy to clipboard operation
apigeelint copied to clipboard

Error: get-installed-path: module not found "@xmldom/xmldom" in path /home/abc/npm_temp/node_modules/apigeelint/node_modules/@xmldom/xmldom

Open brian-corcoran1 opened this issue 5 months ago • 10 comments

when running apigeelint cli.js run -s ./apiproxy -f tap.js seeing the error mentioned in the title. If I look in the lib/package/myUtils.js the following code looks to be the issue const path = require("path"), myhome = path.resolve(__dirname, "../../"),

if I change the path.resolve to path.resolve(__dirname, "../../../..") with 3 slashes it works.

brian-corcoran1 avatar Sep 20 '24 19:09 brian-corcoran1