xojs/xo

npm install issue with acorn dependency

KaiSchwarz-cnic opened this issue · 1 comments

npm ERR! code ENOENT
npm ERR! syscall chmod
npm ERR! path /####/####/git/whmcs-ispapi-domainchecker/node_modules/xo/node_modules/acorn/bin/acorn
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, chmod '/####/#####/git/whmcs-ispapi-domainchecker/node_modules/xo/node_modules/acorn/bin/acorn'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent 

we use "xo": "^0.46.4" in devDependencies (just for reference).
node v16.9.1
npm v7.21.1

Thanks in advance!

Never mind, I upgraded to the latest v16 version of nodejs (v16.13.1 actually) and there, it worked like a charm.