yasuyk / web-beautify

Format HTML, CSS and JavaScript/JSON by js-beautify
GNU General Public License v3.0
219 stars 21 forks source link

Addon is closing with an error upon execution. #43

Closed igoryonya closed 10 months ago

igoryonya commented 10 months ago

When trying to apply on the unformatted html page: M-x web-beautify-html I get an error: /usr/local/lib/node_modules/js-beautify/node_modules/minimatch/dist/cjs/index.js:192 options; ^

SyntaxError: Unexpected token ; at Module._compile (internal/modules/cjs/loader.js:723:23) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789: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:692:17) at require (internal/modules/cjs/helpers.js:25:18) at Object. (/usr/local/lib/node_modules/js-beautify/node_modules/editorconfig/lib/index.js:33:21) at Module._compile (internal/modules/cjs/loader.js:778:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)

igoryonya commented 10 months ago

my system nodejs was older, then required.